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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 208.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2022/0.2022, allocations: 38.55 MB / 352.5 MB, free: 12.29 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 67.89 kB / 492.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3527, allocations: 62.46 MB / 0.542 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01015/0.3628, allocations: 7.037 MB / 0.5488 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007486/0.3703, allocations: 4.118 MB / 0.5528 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.371, allocations: 16.94 kB / 0.5529 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003352/0.3743, allocations: 1.016 MB / 0.5539 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.3783, allocations: 1.211 MB / 0.555 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3794, allocations: 327.4 kB / 0.5553 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002495/0.3819, allocations: 1.401 MB / 0.5567 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.3832, allocations: 0.5104 MB / 0.5572 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.3854, allocations: 0.638 MB / 0.5578 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.3872, allocations: 0.7164 MB / 0.5585 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.3874, allocations: 64 kB / 0.5586 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.3903, allocations: 1.122 MB / 0.5597 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00064/0.3909, allocations: 486.7 kB / 0.5602 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009043/0.3919, allocations: 370.4 kB / 0.5605 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004164/0.396, allocations: 1.468 MB / 0.5619 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.396, allocations: 0 / 0.5619 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.396, allocations: 0 / 0.5619 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.406e-05/0.3961, allocations: 0 / 0.5619 GB, free: 15.73 MB / 414.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.002836/0.3989, allocations: 1.078 MB / 0.563 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.399, allocations: 19.92 kB / 0.563 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002285/0.3992, allocations: 123.2 kB / 0.5631 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.4026, allocations: 395.9 kB / 0.5635 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.4038, allocations: 433.7 kB / 0.5639 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.4038, allocations: 54.36 kB / 0.564 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.404, allocations: 72.36 kB / 0.564 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.4063, allocations: 1.18 MB / 0.5652 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.4064, allocations: 3.938 kB / 0.5652 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.4064, allocations: 35.92 kB / 0.5652 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.4066, allocations: 69.95 kB / 0.5653 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.4088, allocations: 1.23 MB / 0.5665 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006655/0.4155, allocations: 3.232 MB / 0.5697 GB, free: 7.641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.4173, allocations: 0.9835 MB / 0.5706 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009338/0.4182, allocations: 0.5901 MB / 0.5712 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.493e-05/0.4183, allocations: 16.98 kB / 0.5712 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.4183, allocations: 39.56 kB / 0.5713 GB, free: 5.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.367e-06/0.4183, allocations: 4 kB / 0.5713 GB, free: 5.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007169/0.4255, allocations: 3.006 MB / 0.5742 GB, free: 2.961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.4256, allocations: 90.11 kB / 0.5743 GB, free: 2.855 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/0.4261, allocations: 365.6 kB / 0.5746 GB, free: 2.492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.4261, allocations: 41.7 kB / 0.5747 GB, free: 2.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.4264, allocations: 324.9 kB / 0.575 GB, free: 2.121 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.4268, allocations: 333.1 kB / 0.5753 GB, free: 1.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.427, allocations: 154.6 kB / 0.5754 GB, free: 1.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.4273, allocations: 370.8 kB / 0.5758 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007798/0.428, allocations: 469.7 kB / 0.5762 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000876/0.4289, allocations: 0.5734 MB / 0.5768 GB, free: 208 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.4306, allocations: 1.109 MB / 0.5779 GB, free: 15.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4306, allocations: 0 / 0.5779 GB, free: 15.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002744/0.4333, allocations: 1.473 MB / 0.5793 GB, free: 13.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4334, allocations: 6.656 kB / 0.5793 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4334, allocations: 4 kB / 0.5793 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.4344, allocations: 332.7 kB / 0.5796 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/0.4351, allocations: 183.7 kB / 0.5798 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006131/0.4413, allocations: 3.91 MB / 0.5836 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/0.4419, allocations: 47.94 kB / 0.5837 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.442, allocations: 39.98 kB / 0.5837 GB, free: 8.957 MB / 430.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.0005131/0.4425, allocations: 293.5 kB / 0.584 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.4427, allocations: 59.62 kB / 0.5841 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/0.4457, allocations: 1.559 MB / 0.5856 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.4458, allocations: 12 kB / 0.5856 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.4458, allocations: 4 kB / 0.5856 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4458, allocations: 7.922 kB / 0.5856 GB, free: 7.004 MB / 430.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.005828/0.4516, allocations: 2.774 MB / 0.5883 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.4516, allocations: 4.438 kB / 0.5883 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006722/0.4523, allocations: 167.8 kB / 0.5885 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008656/0.4532, allocations: 293.1 kB / 0.5888 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.4532, allocations: 27.98 kB / 0.5888 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00627/0.4595, allocations: 3.709 MB / 0.5924 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/0.4595, allocations: 7.938 kB / 0.5924 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/0.464, allocations: 1.583 MB / 0.594 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.4643, allocations: 71.56 kB / 0.594 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.4645, allocations: 27.94 kB / 0.5941 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007569/0.4652, allocations: 43.95 kB / 0.5941 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/0.4655, allocations: 80.78 kB / 0.5942 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.4656, allocations: 43.92 kB / 0.5942 GB, free: 13.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004945/0.4661, allocations: 259.2 kB / 0.5945 GB, free: 13.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4661, allocations: 0 / 0.5945 GB, free: 13.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001579/0.4677, allocations: 304 kB / 0.5948 GB, free: 13.36 MB / 446.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.004574/0.4722, allocations: 2.145 MB / 0.5969 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.4759, allocations: 1.342 MB / 0.5982 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.4759, allocations: 4.125 kB / 0.5982 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.4775, allocations: 0.7929 MB / 0.5989 GB, free: 8.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007627/0.4782, allocations: 113.2 kB / 0.599 GB, free: 8.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.49, allocations: 7.534 MB / 0.6064 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.4906, allocations: 476.9 kB / 0.6069 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004776/0.4911, allocations: 184.6 kB / 0.607 GB, free: 432 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.4915, allocations: 263.3 kB / 0.6073 GB, free: 172 kB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4915, allocations: 0 / 0.6073 GB, free: 172 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05606/0.5476, allocations: 17.83 MB / 0.6247 GB, free: 14.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.59, allocations: 3.625 kB / 0.6247 GB, free: 14.48 MB / 478.1 MB " [Timeout remaining time 647] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.533574193250388] Failed to read output from testmodel.py, exit status != 0: 12.708467171061784 12.726472469 12.326836436 Calling exit ...