Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",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.001313/0.001313, allocations: 110.4 kB / 16.45 MB, free: 6.441 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.00122/0.00122, allocations: 186.4 kB / 17.38 MB, free: 5.688 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05189/0.05189, allocations: 8.099 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 71.88 kB / 414 MB, free: 22.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08771, allocations: 51.51 MB / 465.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003674/0.09142, allocations: 2.455 MB / 468 MB, free: 188 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.09366, allocations: 1.5 MB / 469.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.09382, allocations: 8 kB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.0943, allocations: 155.1 kB / 469.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.09477, allocations: 190.7 kB / 469.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.09655, allocations: 0.9491 MB / 470.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005432/0.0971, allocations: 422 kB / 471.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.09737, allocations: 160.4 kB / 471.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.0976, allocations: 179.3 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.09794, allocations: 227 kB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.281e-05/0.09801, allocations: 36 kB / 471.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.09842, allocations: 199.8 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.094e-05/0.09852, allocations: 83.69 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.09874, allocations: 202.9 kB / 472.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007143/0.09946, allocations: 0.541 MB / 472.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.09948, allocations: 0 / 472.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09948, allocations: 3.938 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.0995, allocations: 4 kB / 472.8 MB, free: 11.34 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003911/0.1034, allocations: 1.149 MB / 473.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1035, allocations: 15.89 kB / 473.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001412/0.1036, allocations: 67.38 kB / 474 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.1037, allocations: 48.66 kB / 474.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.1042, allocations: 331.6 kB / 474.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.1043, allocations: 32.97 kB / 474.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.1044, allocations: 32.38 kB / 474.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.1051, allocations: 414.6 kB / 474.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1051, allocations: 3.938 kB / 474.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.1052, allocations: 12 kB / 474.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1052, allocations: 8 kB / 474.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.1058, allocations: 398.5 kB / 475.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.1081, allocations: 1.491 MB / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1092, allocations: 0.4913 MB / 477.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.1096, allocations: 244.8 kB / 477.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.568e-05/0.1096, allocations: 11.98 kB / 477.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1097, allocations: 38.56 kB / 477.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.823e-06/0.1097, allocations: 3.938 kB / 477.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.004604/0.1143, allocations: 1.514 MB / 479.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1144, allocations: 55.41 kB / 479.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.1147, allocations: 274.5 kB / 479.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.1148, allocations: 37.7 kB / 479.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1149, allocations: 169 kB / 479.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.1151, allocations: 158.6 kB / 479.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.1152, allocations: 86.25 kB / 479.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1154, allocations: 346.8 kB / 480.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.1157, allocations: 205.1 kB / 480.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.1161, allocations: 225 kB / 480.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000766/0.1169, allocations: 495.5 kB / 481.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1169, allocations: 0 / 481.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002225/0.1191, allocations: 0.8951 MB / 482 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1191, allocations: 4 kB / 482 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1192, allocations: 0 / 482 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.121, allocations: 398.1 kB / 482.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.1213, allocations: 67.89 kB / 482.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007117/0.1284, allocations: 5.917 MB / 488.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.1287, allocations: 35.73 kB / 488.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.1288, allocations: 19.98 kB / 488.4 MB, free: 10.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.129, allocations: 161.8 kB / 488.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.1291, allocations: 31.81 kB / 488.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.1315, allocations: 0.9156 MB / 489.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1315, allocations: 4 kB / 489.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1315, allocations: 4 kB / 489.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1315, allocations: 3.984 kB / 489.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/0.1321, allocations: 0.5286 MB / 490 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1321, allocations: 0 / 490 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.1324, allocations: 55.92 kB / 490.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/0.1341, allocations: 386.1 kB / 490.5 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.1342, allocations: 8 kB / 490.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006889/0.1411, allocations: 5.866 MB / 496.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1411, allocations: 0 / 496.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.1433, allocations: 0.9433 MB / 497.3 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1435, allocations: 120.7 kB / 497.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.1435, allocations: 11.94 kB / 497.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.1439, allocations: 31.8 kB / 497.4 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.144, allocations: 44.38 kB / 497.5 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.144, allocations: 16 kB / 497.5 MB, free: 1.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002362/0.1443, allocations: 186 kB / 497.7 MB, free: 1.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1443, allocations: 0 / 497.7 MB, free: 1.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006197/0.1449, allocations: 163.9 kB / 497.8 MB, free: 0.9102 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003144/0.1481, allocations: 1.819 MB / 499.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.1501, allocations: 0.9937 MB / 0.4889 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1501, allocations: 4 kB / 0.4889 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.1515, allocations: 0.7365 MB / 0.4896 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.152, allocations: 56.48 kB / 0.4897 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007888/0.1599, allocations: 4.393 MB / 0.494 GB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.1604, allocations: 0.8052 MB / 0.4948 GB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.1606, allocations: 46.92 kB / 0.4948 GB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.1608, allocations: 123.4 kB / 0.4949 GB, free: 7.691 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1608, allocations: 0 / 0.4949 GB, free: 7.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2192/0.38, allocations: 13.82 MB / 0.5084 GB, free: 45.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.92, allocations: 10.06 kB / 0.5084 GB, free: 45.43 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)