Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 195.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1469/0.1469, allocations: 5.387 MB / 295.8 MB, free: 2.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.89 kB / 361 MB, free: 14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09279, allocations: 50.61 MB / 411.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005162/0.098, allocations: 3.506 MB / 415.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1003, allocations: 1.285 MB / 416.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.1006, allocations: 4 kB / 416.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.1014, allocations: 214.7 kB / 416.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005431/0.102, allocations: 170.7 kB / 416.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1023, allocations: 119.8 kB / 416.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007433/0.103, allocations: 0.5952 MB / 417.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.1033, allocations: 136 kB / 417.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.1036, allocations: 215.1 kB / 417.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.1039, allocations: 274.9 kB / 418.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.145e-05/0.104, allocations: 52 kB / 418.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1042, allocations: 64 kB / 418.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1043, allocations: 119.5 kB / 418.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.1045, allocations: 238.8 kB / 418.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.1051, allocations: 0.5567 MB / 419.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1051, allocations: 0 / 419.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1051, allocations: 7.984 kB / 419.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.1051, allocations: 0 / 419.2 MB, free: 3.781 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001978/0.1071, allocations: 0.8258 MB / 420 MB, free: 2.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1072, allocations: 8.031 kB / 420 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.43e-05/0.1072, allocations: 66.66 kB / 420.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1073, allocations: 56.38 kB / 420.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.1086, allocations: 0.5063 MB / 420.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1086, allocations: 24.5 kB / 420.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.1087, allocations: 24 kB / 420.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000783/0.1095, allocations: 369.3 kB / 421 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1095, allocations: 0 / 421 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.1096, allocations: 12 kB / 421 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1096, allocations: 8 kB / 421 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009834/0.1106, allocations: 365.9 kB / 421.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1556/0.2661, allocations: 1.43 MB / 422.8 MB, free: 47.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2673, allocations: 441.3 kB / 423.3 MB, free: 47.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004527/0.2678, allocations: 165.3 kB / 423.4 MB, free: 47.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.2678, allocations: 2.719 kB / 423.4 MB, free: 47.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.2678, allocations: 32.41 kB / 423.5 MB, free: 47.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.515e-06/0.2678, allocations: 0.9062 kB / 423.5 MB, free: 47.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005664/0.2735, allocations: 1.031 MB / 424.5 MB, free: 47.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.2735, allocations: 55.16 kB / 424.5 MB, free: 47.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.274, allocations: 395.5 kB / 424.9 MB, free: 47.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.274, allocations: 29.08 kB / 425 MB, free: 46.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.2741, allocations: 219.6 kB / 425.2 MB, free: 46.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.2741, allocations: 75.14 kB / 425.2 MB, free: 46.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2743, allocations: 68.89 kB / 425.3 MB, free: 46.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.2743, allocations: 349.5 kB / 425.7 MB, free: 46.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.2747, allocations: 146.6 kB / 425.8 MB, free: 46.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.2751, allocations: 187.3 kB / 426 MB, free: 46.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.2758, allocations: 308 kB / 426.3 MB, free: 46.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2759, allocations: 1.5 kB / 426.3 MB, free: 46.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.004025/0.2799, allocations: 0.8227 MB / 427.1 MB, free: 46.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2799, allocations: 9.5 kB / 427.1 MB, free: 46.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2799, allocations: 0 / 427.1 MB, free: 46.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.281, allocations: 327.1 kB / 427.4 MB, free: 46.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.2813, allocations: 58.53 kB / 427.5 MB, free: 46.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007541/0.2888, allocations: 4.329 MB / 431.8 MB, free: 43.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.2893, allocations: 53.67 kB / 431.9 MB, free: 43.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.2894, allocations: 16.89 kB / 431.9 MB, free: 43.17 MB / 350.1 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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.2895, allocations: 153.3 kB / 432 MB, free: 43.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.2896, allocations: 41.97 kB / 432.1 MB, free: 43.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-05/0.2897, allocations: 36.52 kB / 432.1 MB, free: 42.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2897, allocations: 7.828 kB / 432.1 MB, free: 42.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2897, allocations: 0 / 432.1 MB, free: 42.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2897, allocations: 6.375 kB / 432.1 MB, free: 42.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/0.2939, allocations: 1.172 MB / 433.3 MB, free: 42.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2939, allocations: 8.844 kB / 433.3 MB, free: 42.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.2941, allocations: 32.75 kB / 433.3 MB, free: 42.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006299/0.2947, allocations: 248.2 kB / 433.6 MB, free: 42.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.2948, allocations: 10.52 kB / 433.6 MB, free: 42.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006405/0.3012, allocations: 2.555 MB / 436.1 MB, free: 40.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3012, allocations: 0 / 436.1 MB, free: 40.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.305, allocations: 0.7733 MB / 436.9 MB, free: 40.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.3053, allocations: 138.5 kB / 437.1 MB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.3054, allocations: 7.875 kB / 437.1 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.3058, allocations: 30.23 kB / 437.1 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.3059, allocations: 16.16 kB / 437.1 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.3059, allocations: 12.97 kB / 437.1 MB, free: 40.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003044/0.3062, allocations: 275.5 kB / 437.4 MB, free: 40.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.3062, allocations: 0 / 437.4 MB, free: 40.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005786/0.3068, allocations: 111.1 kB / 437.5 MB, free: 40.05 MB / 350.1 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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00389/0.3107, allocations: 1.323 MB / 438.8 MB, free: 39.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3121, allocations: 0.606 MB / 439.4 MB, free: 38.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3122, allocations: 0 / 439.4 MB, free: 38.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.3127, allocations: 282.4 kB / 439.7 MB, free: 38.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.3133, allocations: 81.55 kB / 439.8 MB, free: 38.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.3249, allocations: 4.409 MB / 444.2 MB, free: 36.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.3252, allocations: 0.7914 MB / 445 MB, free: 35.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.3254, allocations: 47.7 kB / 445 MB, free: 35.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.3256, allocations: 123.4 kB / 445.2 MB, free: 35.71 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3256, allocations: 0 / 445.2 MB, free: 35.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.3564, allocations: 11.83 MB / 457 MB, free: 34.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.23, allocations: 13.36 kB / 457 MB, free: 34.68 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)