Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",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.001287/0.001287, allocations: 107.1 kB / 16.45 MB, free: 6.449 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.001256/0.001256, allocations: 186.4 kB / 17.38 MB, free: 5.668 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.416/1.416, 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.05232/0.05232, allocations: 8.095 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.09118, allocations: 51.51 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002898/0.09412, allocations: 1.784 MB / 467.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.09636, allocations: 1.576 MB / 468.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.09647, allocations: 8 kB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.09686, allocations: 127.3 kB / 469 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.09723, allocations: 155 kB / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.09925, allocations: 1.066 MB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.09969, allocations: 278.6 kB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.0999, allocations: 92.61 kB / 470.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1, allocations: 111.6 kB / 470.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.1002, allocations: 147.3 kB / 470.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.1003, allocations: 20 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005012/0.1008, allocations: 247.7 kB / 471.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.1009, allocations: 55.77 kB / 471.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.101, allocations: 139.3 kB / 471.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006288/0.1017, allocations: 457.9 kB / 471.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1017, allocations: 0 / 471.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1017, allocations: 0 / 471.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1017, allocations: 4 kB / 471.7 MB, free: 12.41 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00416/0.1059, allocations: 1.111 MB / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1059, allocations: 11.89 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.536e-05/0.106, allocations: 54.73 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/0.1061, allocations: 32.75 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.1064, allocations: 271.7 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.1065, allocations: 24.69 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.1065, allocations: 24.38 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.1071, allocations: 351.7 kB / 473.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1071, allocations: 3.938 kB / 473.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.1072, allocations: 8 kB / 473.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.1072, allocations: 4 kB / 473.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/0.1077, allocations: 295.3 kB / 473.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.1097, allocations: 1.35 MB / 475.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008953/0.1106, allocations: 377.5 kB / 475.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.1109, allocations: 177.3 kB / 475.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008805/0.1117, allocations: 0.7011 MB / 476.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1118, allocations: 38.8 kB / 476.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/0.1118, allocations: 0 / 476.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.00368/0.1155, allocations: 1.137 MB / 477.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.1156, allocations: 106.8 kB / 477.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.1158, allocations: 225 kB / 478 MB, free: 5.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.1159, allocations: 33.7 kB / 478 MB, free: 5.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.116, allocations: 152.8 kB / 478.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.753e-05/0.1161, allocations: 107.1 kB / 478.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.1162, allocations: 82.11 kB / 478.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1164, allocations: 338.8 kB / 478.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.1167, allocations: 192.8 kB / 478.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.1171, allocations: 263.2 kB / 479.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007356/0.1179, allocations: 480.9 kB / 479.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1179, allocations: 0 / 479.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002142/0.12, allocations: 0.8184 MB / 480.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1201, allocations: 6.344 kB / 480.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1201, allocations: 0 / 480.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/0.1221, allocations: 417.3 kB / 480.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.1224, allocations: 71.84 kB / 480.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005296/0.1277, allocations: 4.031 MB / 484.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.1281, allocations: 39.67 kB / 485 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.1281, allocations: 19.98 kB / 485 MB, free: 14.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * 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%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001831/0.1283, allocations: 150.5 kB / 485.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.1284, allocations: 27.92 kB / 485.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.1305, allocations: 0.7359 MB / 485.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1305, allocations: 7.984 kB / 485.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1305, allocations: 4 kB / 485.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1305, allocations: 0 / 485.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.131, allocations: 417.1 kB / 486.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.131, allocations: 4 kB / 486.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.1312, allocations: 43.92 kB / 486.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/0.1332, allocations: 409.5 kB / 486.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.1332, allocations: 8 kB / 486.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005081/0.1383, allocations: 4.008 MB / 490.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1383, allocations: 0 / 490.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.1403, allocations: 0.7785 MB / 491.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.1404, allocations: 104.8 kB / 491.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.1405, allocations: 8 kB / 491.7 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.1408, allocations: 15.98 kB / 491.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.1409, allocations: 27.97 kB / 491.7 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.1409, allocations: 16.03 kB / 491.7 MB, free: 7.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.1411, allocations: 160.5 kB / 491.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1411, allocations: 0 / 491.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005403/0.1416, allocations: 116 kB / 492 MB, free: 6.949 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 (25): * Single equations (assignments): 23 * 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%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002364/0.144, allocations: 1.346 MB / 493.3 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.1457, allocations: 0.763 MB / 494.1 MB, free: 4.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1457, allocations: 3.938 kB / 494.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.1469, allocations: 0.5131 MB / 494.6 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.1472, allocations: 24.44 kB / 494.6 MB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/0.1539, allocations: 3.727 MB / 498.4 MB, free: 368 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.1543, allocations: 0.761 MB / 499.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.1545, allocations: 34.27 kB / 499.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.1546, allocations: 91.39 kB / 499.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1547, allocations: 3.938 kB / 499.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.1914, allocations: 9.104 MB / 0.4964 GB, free: 6.484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.977/10.17, allocations: 15.66 kB / 0.4965 GB, free: 6.469 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)