Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001601/0.001601, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001828/0.001828, allocations: 206.5 kB / 23.73 MB, free: 4.402 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1917/0.1917, allocations: 38.54 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.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",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.002059/0.002059, allocations: 67.91 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3338, allocations: 62.46 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005873/0.3397, allocations: 4.009 MB / 0.5459 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.3412, allocations: 0.8764 MB / 0.5467 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.3414, allocations: 22.62 kB / 0.5467 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.3416, allocations: 48.06 kB / 0.5468 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000535/0.3421, allocations: 175.7 kB / 0.547 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3424, allocations: 95.91 kB / 0.547 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.3429, allocations: 402.4 kB / 0.5474 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.3432, allocations: 74.23 kB / 0.5475 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000457/0.3437, allocations: 188.6 kB / 0.5477 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.3441, allocations: 187.8 kB / 0.5479 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.3441, allocations: 19.12 kB / 0.5479 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.3442, allocations: 19.03 kB / 0.5479 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.3443, allocations: 88.91 kB / 0.548 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.3445, allocations: 115.9 kB / 0.5481 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.345, allocations: 299.1 kB / 0.5484 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.345, allocations: 4.969 kB / 0.5484 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.345, allocations: 0 / 0.5484 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.345, allocations: 3.938 kB / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001135/0.3461, allocations: 0.5247 MB / 0.5489 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.3462, allocations: 13.95 kB / 0.5489 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.271e-05/0.3462, allocations: 57.86 kB / 0.549 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.3463, allocations: 32.25 kB / 0.549 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.3469, allocations: 275.2 kB / 0.5493 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.3469, allocations: 21.41 kB / 0.5493 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.347, allocations: 26.19 kB / 0.5493 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.3475, allocations: 291.6 kB / 0.5496 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3475, allocations: 3.938 kB / 0.5496 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.3475, allocations: 11.19 kB / 0.5496 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3475, allocations: 5.594 kB / 0.5496 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.3478, allocations: 177 kB / 0.5498 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.3495, allocations: 1.149 MB / 0.5509 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.3498, allocations: 106.4 kB / 0.551 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.3499, allocations: 43.05 kB / 0.551 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3499, allocations: 1.469 kB / 0.551 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.35, allocations: 39.94 kB / 0.5511 GB, free: 9.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.35, allocations: 1.281 kB / 0.5511 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001005/0.351, allocations: 415.9 kB / 0.5515 GB, free: 8.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.3511, allocations: 79.17 kB / 0.5515 GB, free: 8.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.3514, allocations: 256.6 kB / 0.5518 GB, free: 8.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.3514, allocations: 26.77 kB / 0.5518 GB, free: 8.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3516, allocations: 204.9 kB / 0.552 GB, free: 8.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.3516, allocations: 37.11 kB / 0.552 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.3517, allocations: 48.86 kB / 0.5521 GB, free: 8.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3519, allocations: 336.2 kB / 0.5524 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.3519, allocations: 39.41 kB / 0.5525 GB, free: 7.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.3521, allocations: 129.9 kB / 0.5526 GB, free: 7.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.3524, allocations: 192 kB / 0.5528 GB, free: 7.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3524, allocations: 1.312 kB / 0.5528 GB, free: 7.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003228/0.3527, allocations: 205.3 kB / 0.553 GB, free: 7.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3527, allocations: 6.594 kB / 0.553 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3527, allocations: 3.719 kB / 0.553 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3527, allocations: 8.906 kB / 0.553 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.3529, allocations: 50.28 kB / 0.553 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3529, allocations: 8.797 kB / 0.553 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.353, allocations: 12.78 kB / 0.553 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.353, allocations: 12.03 kB / 0.5531 GB, free: 7.375 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.3532, allocations: 148.7 kB / 0.5532 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.3532, allocations: 21.89 kB / 0.5532 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.3535, allocations: 143 kB / 0.5534 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3535, allocations: 1.688 kB / 0.5534 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3535, allocations: 4 kB / 0.5534 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.3535, allocations: 9.328 kB / 0.5534 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.3541, allocations: 436.9 kB / 0.5538 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3541, allocations: 5.562 kB / 0.5538 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.3543, allocations: 22.92 kB / 0.5538 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3543, allocations: 1.75 kB / 0.5538 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3543, allocations: 5.875 kB / 0.5538 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3543, allocations: 0 / 0.5538 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3543, allocations: 1.031 kB / 0.5538 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.3547, allocations: 291.6 kB / 0.5541 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.3547, allocations: 22.89 kB / 0.5541 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.3548, allocations: 13.81 kB / 0.5541 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3549, allocations: 1.094 kB / 0.5541 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.3549, allocations: 7.578 kB / 0.5541 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.3549, allocations: 4.531 kB / 0.5541 GB, free: 6.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.3551, allocations: 176.9 kB / 0.5543 GB, free: 6.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3551, allocations: 0 / 0.5543 GB, free: 6.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.3554, allocations: 43.75 kB / 0.5544 GB, free: 6.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006399/0.3561, allocations: 0.8018 MB / 0.5551 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.3563, allocations: 116.7 kB / 0.5553 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3563, allocations: 1.094 kB / 0.5553 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.3564, allocations: 40.77 kB / 0.5553 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.3568, allocations: 57.77 kB / 0.5553 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.3598, allocations: 2.458 MB / 0.5577 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.3601, allocations: 162.8 kB / 0.5579 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.3602, allocations: 34.27 kB / 0.5579 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.3603, allocations: 83.41 kB / 0.558 GB, free: 3.078 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3603, allocations: 0 / 0.558 GB, free: 3.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.3963, allocations: 5.3 MB / 0.5632 GB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 7.562 kB / 0.5632 GB, free: 13.93 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.244742446113378] Failed to read output from testmodel.py, exit status != 0: 11.585154769942164 11.611700565 11.261913861 Calling exit ...