Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 222.9 MB / 239.7 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.0008949, allocations: 112.6 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02352/0.02352, allocations: 5.4 MB / 345.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009078/0.0009078, allocations: 50.8 kB / 410.2 MB, free: 57.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07337/0.0743, allocations: 50.63 MB / 460.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003286/0.07762, allocations: 3.477 MB / 464.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.07883, allocations: 1.27 MB / 465.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.07901, allocations: 7.938 kB / 465.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004251/0.07945, allocations: 199 kB / 465.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.07968, allocations: 131.1 kB / 465.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.07982, allocations: 107.8 kB / 466 MB, free: 1.773 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.08015, allocations: 0.5448 MB / 466.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.08032, allocations: 108 kB / 466.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.08046, allocations: 191.1 kB / 466.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.08066, allocations: 238.9 kB / 467.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.08071, allocations: 28 kB / 467.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.0808, allocations: 32 kB / 467.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.08086, allocations: 91.56 kB / 467.2 MB, free: 0.543 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.08099, allocations: 210.8 kB / 467.4 MB, free: 344 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.08136, allocations: 0.5023 MB / 468 MB, free: 15.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.08137, allocations: 0 / 468 MB, free: 15.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.08138, allocations: 0 / 468 MB, free: 15.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.08139, allocations: 0 / 468 MB, free: 15.83 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001683/0.08308, allocations: 0.8295 MB / 468.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.08312, allocations: 12.88 kB / 468.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.831e-05/0.0832, allocations: 44.47 kB / 468.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/0.08416, allocations: 484.2 kB / 469.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.08419, allocations: 28.62 kB / 469.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.08423, allocations: 20 kB / 469.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.08477, allocations: 325.4 kB / 469.7 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.08479, allocations: 0 / 469.7 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.08483, allocations: 8 kB / 469.7 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.08484, allocations: 4 kB / 469.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.08548, allocations: 294 kB / 470 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.08746, allocations: 1.323 MB / 471.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/0.08803, allocations: 308.5 kB / 471.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.0884, allocations: 136.8 kB / 471.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.08844, allocations: 8 kB / 471.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.08846, allocations: 34.5 kB / 471.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.08847, allocations: 3.938 kB / 471.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.003202/0.09168, allocations: 0.7503 MB / 472.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.09172, allocations: 55.41 kB / 472.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.09207, allocations: 389.5 kB / 473 MB, free: 10.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.0921, allocations: 25.7 kB / 473 MB, free: 10.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.09223, allocations: 227.8 kB / 473.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.09227, allocations: 51.3 kB / 473.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.525e-05/0.09237, allocations: 61.58 kB / 473.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.09248, allocations: 338.8 kB / 473.6 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.09278, allocations: 115.9 kB / 473.8 MB, free: 9.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.0931, allocations: 155.6 kB / 473.9 MB, free: 9.562 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.09367, allocations: 248.7 kB / 474.2 MB, free: 9.309 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.09368, allocations: 0 / 474.2 MB, free: 9.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0024/0.09609, allocations: 0.6257 MB / 474.8 MB, free: 8.672 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.09611, allocations: 7.984 kB / 474.8 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.09613, allocations: 0 / 474.8 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008547/0.09698, allocations: 253.6 kB / 475 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.0972, allocations: 51.91 kB / 475.1 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005363/0.1026, allocations: 3.59 MB / 478.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.1029, allocations: 47.77 kB / 478.7 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.1029, allocations: 7.984 kB / 478.7 MB, free: 4.438 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.1031, allocations: 153.7 kB / 478.9 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.1031, allocations: 31.62 kB / 478.9 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.1032, allocations: 39.25 kB / 479 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1032, allocations: 0 / 479 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1032, allocations: 0 / 479 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1032, allocations: 7.984 kB / 479 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.1058, allocations: 0.9392 MB / 479.9 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1058, allocations: 0 / 479.9 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.1059, allocations: 31.91 kB / 479.9 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003942/0.1063, allocations: 172.8 kB / 480.1 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.1063, allocations: 8 kB / 480.1 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/0.11, allocations: 1.983 MB / 482.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.11, allocations: 0 / 482.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1476/0.2576, allocations: 1.275 MB / 483.4 MB, free: 32.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.2578, allocations: 137.1 kB / 483.5 MB, free: 31.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.2579, allocations: 3.125 kB / 483.5 MB, free: 31.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.2582, allocations: 24.2 kB / 483.5 MB, free: 31.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.2583, allocations: 14.28 kB / 483.5 MB, free: 31.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.2583, allocations: 5.469 kB / 483.5 MB, free: 31.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002994/0.2586, allocations: 269.3 kB / 483.8 MB, free: 31.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2586, allocations: 1.25 kB / 483.8 MB, free: 31.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006504/0.2593, allocations: 97.14 kB / 483.9 MB, free: 31.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001109/0.2594, allocations: 100.6 kB / 484 MB, free: 31.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.2604, allocations: 0.5017 MB / 484.5 MB, free: 31.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2604, allocations: 2.094 kB / 484.5 MB, free: 31.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.2608, allocations: 217.5 kB / 484.7 MB, free: 31.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.2613, allocations: 75.48 kB / 484.8 MB, free: 31.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2625, allocations: 0.904 MB / 485.7 MB, free: 30.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.2627, allocations: 0.7895 MB / 486.5 MB, free: 30.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000178/0.2629, allocations: 42.16 kB / 486.5 MB, free: 30.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.2629, allocations: 29.91 kB / 486.6 MB, free: 30.22 MB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2629, allocations: 0 / 486.6 MB, free: 30.22 MB / 314.7 MB Notification: Performance of Templates: time 0.01023/0.2732, allocations: 6.374 MB / 492.9 MB, free: 29.45 MB / 314.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)