Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.001249/0.001249, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001323/0.001323, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1632/0.1632, allocations: 37.98 MB / 309.2 MB, free: 5.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 75.88 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09699, allocations: 55.24 MB / 486.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009013/0.106, allocations: 7.433 MB / 494 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005614/0.1117, allocations: 4.429 MB / 498.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.1122, allocations: 15.94 kB / 498.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.1147, allocations: 1.035 MB / 499.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.1171, allocations: 1.195 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.1179, allocations: 327.1 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.1194, allocations: 1.402 MB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009305/0.1203, allocations: 0.6534 MB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.1214, allocations: 0.6264 MB / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.1224, allocations: 0.6775 MB / 0.4926 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.1226, allocations: 64 kB / 0.4926 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.1247, allocations: 1.325 MB / 0.4939 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004883/0.1252, allocations: 486.8 kB / 0.4944 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.1259, allocations: 437.9 kB / 0.4948 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.1282, allocations: 1.449 MB / 0.4962 GB, free: 3.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1282, allocations: 3.938 kB / 0.4962 GB, free: 3.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1282, allocations: 4 kB / 0.4962 GB, free: 3.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.821e-05/0.1282, allocations: 0 / 0.4962 GB, free: 3.219 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002249/0.1305, allocations: 1.132 MB / 0.4973 GB, free: 2.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1306, allocations: 11.89 kB / 0.4974 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002224/0.1308, allocations: 135.2 kB / 0.4975 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.134, allocations: 379.4 kB / 0.4978 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000784/0.1348, allocations: 494.6 kB / 0.4983 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.1348, allocations: 50.38 kB / 0.4984 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.135, allocations: 72.36 kB / 0.4984 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.1369, allocations: 1.18 MB / 0.4996 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.1369, allocations: 7.906 kB / 0.4996 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.137, allocations: 27.98 kB / 0.4996 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.783e-05/0.1371, allocations: 73.95 kB / 0.4997 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.1389, allocations: 1.245 MB / 0.5009 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004917/0.1438, allocations: 3.484 MB / 0.5043 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.1453, allocations: 1.069 MB / 0.5054 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000779/0.1461, allocations: 0.6565 MB / 0.506 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-05/0.1462, allocations: 12.98 kB / 0.506 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1462, allocations: 55.67 kB / 0.5061 GB, free: 8.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.204e-06/0.1462, allocations: 0 / 0.5061 GB, free: 8.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.005851/0.1521, allocations: 3.079 MB / 0.5091 GB, free: 5.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.1521, allocations: 94.09 kB / 0.5092 GB, free: 5.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.1525, allocations: 361.6 kB / 0.5095 GB, free: 5.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.1525, allocations: 41.7 kB / 0.5095 GB, free: 5.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.1527, allocations: 316.1 kB / 0.5098 GB, free: 4.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.153, allocations: 319.4 kB / 0.5101 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.1532, allocations: 158.5 kB / 0.5103 GB, free: 4.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1534, allocations: 366.8 kB / 0.5107 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.154, allocations: 469.7 kB / 0.5111 GB, free: 3.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006858/0.1547, allocations: 0.5657 MB / 0.5117 GB, free: 3.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.1561, allocations: 1.113 MB / 0.5127 GB, free: 1.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1561, allocations: 0 / 0.5127 GB, free: 1.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002284/0.1584, allocations: 1.477 MB / 0.5142 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.1584, allocations: 11.91 kB / 0.5142 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1585, allocations: 4.188 kB / 0.5142 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008827/0.1593, allocations: 333.8 kB / 0.5145 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.16, allocations: 183.7 kB / 0.5147 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004953/0.165, allocations: 4.183 MB / 0.5188 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.1655, allocations: 56 kB / 0.5188 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-05/0.1655, allocations: 39.92 kB / 0.5189 GB, free: 11.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003871/0.1659, allocations: 289.6 kB / 0.5191 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.1661, allocations: 55.34 kB / 0.5192 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.1685, allocations: 1.567 MB / 0.5207 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.1685, allocations: 15.98 kB / 0.5207 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1685, allocations: 4 kB / 0.5207 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.1685, allocations: 3.984 kB / 0.5207 GB, free: 9.52 MB / 414.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.00448/0.173, allocations: 3.035 MB / 0.5237 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.173, allocations: 4 kB / 0.5237 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.1736, allocations: 167.8 kB / 0.5239 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007549/0.1744, allocations: 281.1 kB / 0.5241 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.16e-05/0.1745, allocations: 23.98 kB / 0.5242 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004548/0.179, allocations: 3.922 MB / 0.528 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.179, allocations: 4 kB / 0.528 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.1813, allocations: 1.594 MB / 0.5296 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1982/0.3795, allocations: 138.5 kB / 0.5297 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003383/0.3799, allocations: 26.94 kB / 0.5297 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.3805, allocations: 41.45 kB / 0.5298 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.3807, allocations: 81.95 kB / 0.5298 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.106e-05/0.3808, allocations: 36.78 kB / 0.5299 GB, free: 51.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003073/0.3811, allocations: 257.9 kB / 0.5301 GB, free: 51.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3811, allocations: 3.281 kB / 0.5301 GB, free: 51.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000928/0.382, allocations: 305.5 kB / 0.5304 GB, free: 51.3 MB / 414.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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(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.002422/0.3844, allocations: 2.163 MB / 0.5325 GB, free: 50.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.3865, allocations: 1.407 MB / 0.5339 GB, free: 50.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3865, allocations: 1.406 kB / 0.5339 GB, free: 50.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.3877, allocations: 0.8378 MB / 0.5347 GB, free: 50.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/0.3884, allocations: 106.7 kB / 0.5348 GB, free: 50.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009926/0.3983, allocations: 7.529 MB / 0.5422 GB, free: 46.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.399, allocations: 1.073 MB / 0.5432 GB, free: 45.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.3994, allocations: 179.4 kB / 0.5434 GB, free: 45.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.3997, allocations: 261.7 kB / 0.5436 GB, free: 45.43 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3997, allocations: 0 / 0.5436 GB, free: 45.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.4393, allocations: 16.8 MB / 0.56 GB, free: 36.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.784/10.22, allocations: 8.062 kB / 0.5601 GB, free: 36.92 MB / 414.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)