Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.001437/0.001437, allocations: 113.7 kB / 16.63 MB, free: 6.816 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.001324/0.001324, allocations: 189.8 kB / 17.55 MB, free: 5.93 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.272/1.272, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1685/0.1685, allocations: 38.02 MB / 329.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 66.06 kB / 398.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1013, allocations: 58.07 MB / 456.4 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008014/0.1094, allocations: 7.63 MB / 464.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.1148, allocations: 4.475 MB / 468.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.1154, allocations: 15.94 kB / 468.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.1179, allocations: 0.988 MB / 469.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.1209, allocations: 1.196 MB / 470.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.1218, allocations: 315.2 kB / 471.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.1235, allocations: 1.41 MB / 472.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.1247, allocations: 0.8749 MB / 473.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.1258, allocations: 0.642 MB / 474 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.1269, allocations: 0.8218 MB / 474.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.1271, allocations: 80 kB / 474.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.1295, allocations: 1.524 MB / 476.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006741/0.1302, allocations: 0.6118 MB / 477 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008864/0.1311, allocations: 0.5639 MB / 477.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.1343, allocations: 1.971 MB / 479.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1343, allocations: 0 / 479.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1343, allocations: 0 / 479.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.946e-05/0.1344, allocations: 0 / 479.6 MB, free: 1.113 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002233/0.1366, allocations: 1.338 MB / 480.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1367, allocations: 15.89 kB / 480.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002294/0.1369, allocations: 164.8 kB / 481.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/0.141, allocations: 0.5302 MB / 481.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/0.1419, allocations: 0.5559 MB / 482.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.142, allocations: 66.36 kB / 482.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.1421, allocations: 88.27 kB / 482.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.1443, allocations: 1.508 MB / 483.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.1444, allocations: 4 kB / 483.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.963e-05/0.1445, allocations: 39.97 kB / 483.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.1446, allocations: 98.02 kB / 484 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.1469, allocations: 1.546 MB / 485.5 MB, free: 11.02 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007231/0.1542, allocations: 4.923 MB / 490.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.1559, allocations: 1.185 MB / 491.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009898/0.1569, allocations: 0.7623 MB / 492.4 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.131e-05/0.157, allocations: 16.98 kB / 492.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.274e-05/0.1571, allocations: 43.56 kB / 492.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 4.409e-06/0.1571, allocations: 0 / 492.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.00728/0.1644, allocations: 3.681 MB / 496.1 MB, free: 104 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.1645, allocations: 98.09 kB / 496.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.165, allocations: 473.8 kB / 496.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.165, allocations: 45.7 kB / 496.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.1653, allocations: 423.4 kB / 497.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000303/0.1656, allocations: 370.6 kB / 497.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.1659, allocations: 202.8 kB / 497.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.166, allocations: 382.8 kB / 498.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000752/0.1668, allocations: 0.5374 MB / 498.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008941/0.1677, allocations: 0.7539 MB / 499.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.1695, allocations: 1.408 MB / 0.489 GB, free: 11.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.1695, allocations: 4 kB / 0.489 GB, free: 11.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003142/0.1727, allocations: 1.805 MB / 0.4908 GB, free: 9.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1727, allocations: 8 kB / 0.4908 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.1727, allocations: 8 kB / 0.4908 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.1738, allocations: 409.9 kB / 0.4912 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/0.1747, allocations: 235.6 kB / 0.4914 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006734/0.1814, allocations: 6.063 MB / 0.4973 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.1822, allocations: 64 kB / 0.4974 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.1823, allocations: 43.98 kB / 0.4974 GB, free: 2.273 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 103 * 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 {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000637/0.1829, allocations: 369.4 kB / 0.4978 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.1831, allocations: 71.16 kB / 0.4979 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/0.1864, allocations: 1.81 MB / 0.4996 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1717/0.3581, allocations: 13.92 kB / 0.4996 GB, free: 55.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.583e-05/0.3581, allocations: 8.875 kB / 0.4997 GB, free: 55.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.644e-05/0.3582, allocations: 5.609 kB / 0.4997 GB, free: 55.99 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006578/0.3648, allocations: 3.46 MB / 0.503 GB, free: 55.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.3648, allocations: 6.281 kB / 0.503 GB, free: 55.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007471/0.3656, allocations: 194.5 kB / 0.5032 GB, free: 55.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/0.3665, allocations: 356.5 kB / 0.5036 GB, free: 55.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.559e-05/0.3666, allocations: 24.41 kB / 0.5036 GB, free: 55.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005945/0.3726, allocations: 5.784 MB / 0.5092 GB, free: 51.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3726, allocations: 4.094 kB / 0.5092 GB, free: 51.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/0.3758, allocations: 1.832 MB / 0.511 GB, free: 50.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.376, allocations: 160.2 kB / 0.5112 GB, free: 50.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.3762, allocations: 26.28 kB / 0.5112 GB, free: 50.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/0.3767, allocations: 51.97 kB / 0.5113 GB, free: 50.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.3769, allocations: 96.92 kB / 0.5114 GB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.603e-05/0.377, allocations: 41.48 kB / 0.5114 GB, free: 50.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000364/0.3774, allocations: 327.2 kB / 0.5117 GB, free: 50 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3774, allocations: 3 kB / 0.5117 GB, free: 50 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001277/0.3787, allocations: 394.7 kB / 0.5121 GB, free: 49.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003117/0.3818, allocations: 2.392 MB / 0.5144 GB, free: 48.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003286/0.3851, allocations: 2.133 MB / 0.5165 GB, free: 47.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3851, allocations: 0 / 0.5165 GB, free: 47.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.3865, allocations: 1.079 MB / 0.5176 GB, free: 47.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007434/0.3873, allocations: 122.6 kB / 0.5177 GB, free: 47.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.3987, allocations: 9.693 MB / 0.5271 GB, free: 41.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.3993, allocations: 1.173 MB / 0.5283 GB, free: 41.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005097/0.3998, allocations: 234.8 kB / 0.5285 GB, free: 41.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.4002, allocations: 348.9 kB / 0.5288 GB, free: 40.89 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4003, allocations: 0 / 0.5288 GB, free: 40.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.423/1.824, allocations: 20.01 MB / 0.5484 GB, free: 21.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/1.824, allocations: 227 kB / 0.5486 GB, free: 21.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/3.75, allocations: 3.938 kB / 0.5486 GB, free: 21.08 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)