Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadwithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors",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.001081/0.001081, allocations: 103.2 kB / 16.45 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 189.5 kB / 17.39 MB, free: 5.676 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04576/0.04576, allocations: 8.103 MB / 299.3 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.89 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09036/0.09156, allocations: 51.51 MB / 465.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.003013/0.09461, allocations: 1.73 MB / 467.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.0966, allocations: 1.341 MB / 468.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.0968, allocations: 7.938 kB / 468.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.09721, allocations: 99.42 kB / 468.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.09756, allocations: 95.31 kB / 468.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009976/0.09857, allocations: 462.1 kB / 469.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.09893, allocations: 223 kB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.09918, allocations: 114.4 kB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.09932, allocations: 103.6 kB / 469.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.09962, allocations: 151.4 kB / 469.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.572e-05/0.09967, allocations: 20 kB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.09996, allocations: 120 kB / 469.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.1, allocations: 51.77 kB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1002, allocations: 123.3 kB / 470.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.1006, allocations: 322.7 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1006, allocations: 0 / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1007, allocations: 3.938 kB / 470.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1007, allocations: 4 kB / 470.4 MB, free: 13.74 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001851/0.1025, allocations: 0.6592 MB / 471.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1026, allocations: 15.89 kB / 471.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.967e-05/0.1027, allocations: 58.72 kB / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.1027, allocations: 28.66 kB / 471.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.103, allocations: 206.7 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.103, allocations: 16.94 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.1031, allocations: 24.38 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.1035, allocations: 292 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.1036, allocations: 7.938 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.1036, allocations: 4 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1036, allocations: 8 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.104, allocations: 245.3 kB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.1054, allocations: 0.9566 MB / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/0.1062, allocations: 374.3 kB / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.1064, allocations: 89.92 kB / 473.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.1064, allocations: 16.09 kB / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1065, allocations: 46.5 kB / 473.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.1065, allocations: 0 / 473.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001151/0.1076, allocations: 0.5167 MB / 474 MB, free: 9.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1077, allocations: 81.11 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.1079, allocations: 186.6 kB / 474.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1079, allocations: 33.7 kB / 474.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.108, allocations: 151.9 kB / 474.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.1081, allocations: 67 kB / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/0.1082, allocations: 57.69 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1083, allocations: 326.8 kB / 474.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1084, allocations: 83.97 kB / 474.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.1086, allocations: 131.3 kB / 475.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.1089, allocations: 211.3 kB / 475.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1089, allocations: 4 kB / 475.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005894/0.1095, allocations: 338.2 kB / 475.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1095, allocations: 4 kB / 475.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1095, allocations: 0 / 475.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003834/0.1099, allocations: 73.72 kB / 475.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.1101, allocations: 55.84 kB / 475.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.1124, allocations: 2.886 MB / 478.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1126, allocations: 27.7 kB / 478.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1126, allocations: 8 kB / 478.6 MB, free: 4.855 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.1127, allocations: 145.9 kB / 478.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.1128, allocations: 15.81 kB / 478.8 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.1134, allocations: 285.4 kB / 479.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1134, allocations: 0 / 479.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1134, allocations: 12 kB / 479.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1134, allocations: 4.078 kB / 479.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007747/0.1142, allocations: 0.5536 MB / 479.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1142, allocations: 0 / 479.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1143, allocations: 27.98 kB / 479.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003186/0.1147, allocations: 77.66 kB / 479.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1147, allocations: 0 / 479.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.117, allocations: 2.879 MB / 482.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.117, allocations: 7.969 kB / 482.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.1176, allocations: 432.4 kB / 483.1 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.1177, allocations: 92.86 kB / 483.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1177, allocations: 8 kB / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.1179, allocations: 23.86 kB / 483.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.118, allocations: 15.97 kB / 483.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.118, allocations: 12 kB / 483.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1182, allocations: 148.2 kB / 483.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1182, allocations: 0 / 483.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004294/0.1186, allocations: 75.84 kB / 483.4 MB, free: 15.66 MB / 366.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 (19): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000894/0.1195, allocations: 0.9737 MB / 484.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.1203, allocations: 461.1 kB / 484.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1203, allocations: 0 / 484.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004495/0.1208, allocations: 337.4 kB / 485.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.1213, allocations: 24.27 kB / 485.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.1245, allocations: 2.502 MB / 487.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.1248, allocations: 0.7363 MB / 488.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.1249, allocations: 33.52 kB / 488.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.699e-05/0.125, allocations: 63.41 kB / 488.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.125, allocations: 0 / 488.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.1531, allocations: 5.337 MB / 493.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.981/9.134, allocations: 15.42 kB / 493.9 MB, free: 5.086 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadwithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)