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.001529/0.001529, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.002271/0.002271, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.605/1.605, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.1825/0.1825, allocations: 38.52 MB / 353.2 MB, free: 12.57 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="cs",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.002608/0.002608, allocations: 62.56 kB / 493.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3527, allocations: 62.47 MB / 0.5428 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008868/0.3616, allocations: 7.613 MB / 0.5502 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00661/0.3682, allocations: 4.49 MB / 0.5546 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.3686, allocations: 17.38 kB / 0.5546 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.3712, allocations: 1.067 MB / 0.5557 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.3741, allocations: 1.209 MB / 0.5568 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008692/0.3749, allocations: 330.8 kB / 0.5572 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.3771, allocations: 1.398 MB / 0.5585 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009772/0.378, allocations: 0.5185 MB / 0.559 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.3794, allocations: 0.6351 MB / 0.5596 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.3806, allocations: 0.7476 MB / 0.5604 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.664e-05/0.3807, allocations: 64 kB / 0.5604 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.3833, allocations: 1.372 MB / 0.5618 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005254/0.3838, allocations: 474.8 kB / 0.5622 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.3843, allocations: 453.8 kB / 0.5627 GB, free: 152 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.3869, allocations: 1.456 MB / 0.5641 GB, free: 14.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3869, allocations: 0 / 0.5641 GB, free: 14.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3869, allocations: 0 / 0.5641 GB, free: 14.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.3869, allocations: 4 kB / 0.5641 GB, free: 14.68 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.001849/0.3888, allocations: 1.074 MB / 0.5651 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.3888, allocations: 15.98 kB / 0.5652 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.696e-05/0.3888, allocations: 18.19 kB / 0.5652 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.389, allocations: 135.2 kB / 0.5653 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/0.3922, allocations: 387.9 kB / 0.5657 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.3933, allocations: 441.7 kB / 0.5661 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.3934, allocations: 54.36 kB / 0.5661 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.3936, allocations: 72.36 kB / 0.5662 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.3956, allocations: 1.191 MB / 0.5674 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.3957, allocations: 0 / 0.5674 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/0.3957, allocations: 28 kB / 0.5674 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3959, allocations: 69.95 kB / 0.5675 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.3978, allocations: 1.245 MB / 0.5687 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.4036, allocations: 3.419 MB / 0.572 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.4054, allocations: 0.9903 MB / 0.573 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008726/0.4063, allocations: 0.5901 MB / 0.5736 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.049e-05/0.4063, allocations: 20.97 kB / 0.5736 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.4064, allocations: 43.56 kB / 0.5736 GB, free: 4.695 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.605e-06/0.4064, allocations: 0 / 0.5736 GB, free: 4.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006806/0.4132, allocations: 3.013 MB / 0.5766 GB, free: 1.676 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.4133, allocations: 86.11 kB / 0.5767 GB, free: 1.574 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.4137, allocations: 365.6 kB / 0.577 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/0.4138, allocations: 41.7 kB / 0.577 GB, free: 1.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.4141, allocations: 325 kB / 0.5774 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/0.4144, allocations: 329.1 kB / 0.5777 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.4147, allocations: 158.6 kB / 0.5778 GB, free: 364 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.415, allocations: 366.8 kB / 0.5782 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007408/0.4157, allocations: 469.7 kB / 0.5786 GB, free: 15.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008672/0.4166, allocations: 0.5735 MB / 0.5792 GB, free: 14.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.4182, allocations: 1.109 MB / 0.5803 GB, free: 13.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4182, allocations: 0 / 0.5803 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002767/0.421, allocations: 1.473 MB / 0.5817 GB, free: 12.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.421, allocations: 4 kB / 0.5817 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.421, allocations: 8.188 kB / 0.5817 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009758/0.422, allocations: 332.6 kB / 0.582 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/0.4227, allocations: 183.7 kB / 0.5822 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005816/0.4285, allocations: 4.072 MB / 0.5862 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.4291, allocations: 48.02 kB / 0.5862 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/0.4291, allocations: 43.95 kB / 0.5863 GB, free: 7.488 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.0004626/0.4296, allocations: 293.5 kB / 0.5865 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.4297, allocations: 55.67 kB / 0.5866 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.4326, allocations: 1.555 MB / 0.5881 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.4326, allocations: 8 kB / 0.5881 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4326, allocations: 4 kB / 0.5881 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.4326, allocations: 11.97 kB / 0.5881 GB, free: 5.543 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.005187/0.4378, allocations: 2.991 MB / 0.5911 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4378, allocations: 4 kB / 0.5911 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/0.4385, allocations: 171.7 kB / 0.5912 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008218/0.4393, allocations: 281.7 kB / 0.5915 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-05/0.4393, allocations: 27.98 kB / 0.5915 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005358/0.4447, allocations: 3.81 MB / 0.5952 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.4447, allocations: 7.938 kB / 0.5953 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.4473, allocations: 1.587 MB / 0.5968 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.4475, allocations: 71.55 kB / 0.5969 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.4476, allocations: 31.92 kB / 0.5969 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.448, allocations: 35.97 kB / 0.5969 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.4482, allocations: 92.66 kB / 0.597 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.082e-05/0.4483, allocations: 39.98 kB / 0.5971 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002988/0.4486, allocations: 255.2 kB / 0.5973 GB, free: 11.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4486, allocations: 0 / 0.5973 GB, free: 11.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009489/0.4495, allocations: 311.9 kB / 0.5976 GB, free: 11.54 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.002898/0.4524, allocations: 2.145 MB / 0.5997 GB, free: 9.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.4548, allocations: 1.342 MB / 0.601 GB, free: 7.969 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4548, allocations: 0 / 0.601 GB, free: 7.969 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.4561, allocations: 0.7892 MB / 0.6018 GB, free: 7.164 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000771/0.4569, allocations: 109.8 kB / 0.6019 GB, free: 7.059 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.4691, allocations: 7.546 MB / 0.6093 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.4703, allocations: 1.072 MB / 0.6103 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006766/0.4709, allocations: 184.6 kB / 0.6105 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.4715, allocations: 259.3 kB / 0.6107 GB, free: 13.73 MB / 462.1 MB Notification: Performance of SimCode: time 1.874e-06/0.4715, allocations: 4 kB / 0.6107 GB, free: 13.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04795/0.5194, allocations: 17.68 MB / 0.628 GB, free: 12.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.18, allocations: 7.938 kB / 0.628 GB, free: 12.16 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: 16.286193731008098] Failed to read output from testmodel.py, exit status != 0: 13.35562728397781 13.38108371 12.989426278 Calling exit ...