Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001774/0.001774, allocations: 112.5 kB / 21.22 MB, free: 0.7461 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.002169/0.002169, allocations: 213.1 kB / 24.53 MB, free: 4.145 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.535/1.535, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.1863/0.1863, allocations: 38.53 MB / 353.2 MB, free: 12.55 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.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.002107/0.002107, allocations: 64.12 kB / 493.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3302, allocations: 62.48 MB / 0.5428 GB, free: 480 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006453/0.3366, allocations: 4.746 MB / 0.5474 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.3393, allocations: 1.525 MB / 0.5489 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.3396, allocations: 20.97 kB / 0.5489 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.3407, allocations: 390.4 kB / 0.5493 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005966/0.3413, allocations: 242.2 kB / 0.5495 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.3421, allocations: 256 kB / 0.5498 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007354/0.3428, allocations: 0.5605 MB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.3432, allocations: 246.9 kB / 0.5505 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.3437, allocations: 271.8 kB / 0.5508 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.3442, allocations: 339.7 kB / 0.5511 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.3443, allocations: 34.91 kB / 0.5512 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003475/0.3446, allocations: 164.2 kB / 0.5513 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.3449, allocations: 236.5 kB / 0.5515 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.3452, allocations: 252.2 kB / 0.5518 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007557/0.3459, allocations: 0.5987 MB / 0.5524 GB, free: 9.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.553e-05/0.3459, allocations: 5.281 kB / 0.5524 GB, free: 9.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3459, allocations: 0 / 0.5524 GB, free: 9.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.346, allocations: 7.938 kB / 0.5524 GB, free: 9.25 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001495/0.3475, allocations: 0.7082 MB / 0.5531 GB, free: 8.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.3475, allocations: 13.55 kB / 0.5531 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.667e-05/0.3475, allocations: 11.91 kB / 0.5531 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.3476, allocations: 88.2 kB / 0.5532 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008256/0.3485, allocations: 126.8 kB / 0.5533 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007884/0.3493, allocations: 358.5 kB / 0.5536 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.3493, allocations: 41.77 kB / 0.5537 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.3495, allocations: 49.12 kB / 0.5537 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.3506, allocations: 0.6362 MB / 0.5544 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.3507, allocations: 6.266 kB / 0.5544 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.3507, allocations: 24.61 kB / 0.5544 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.3508, allocations: 33.42 kB / 0.5544 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.3517, allocations: 488.3 kB / 0.5549 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.3554, allocations: 2.945 MB / 0.5578 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.3557, allocations: 169.7 kB / 0.5579 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.3559, allocations: 105.7 kB / 0.558 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.3559, allocations: 4 kB / 0.558 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.356, allocations: 34.5 kB / 0.5581 GB, free: 4.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.875e-06/0.356, allocations: 0 / 0.5581 GB, free: 4.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.00148/0.3574, allocations: 0.7757 MB / 0.5588 GB, free: 3.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.3575, allocations: 85.05 kB / 0.5589 GB, free: 3.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.3579, allocations: 345.6 kB / 0.5592 GB, free: 3.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.3579, allocations: 29.7 kB / 0.5593 GB, free: 3.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.3582, allocations: 311.9 kB / 0.5595 GB, free: 2.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.3583, allocations: 87.25 kB / 0.5596 GB, free: 2.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3584, allocations: 82.09 kB / 0.5597 GB, free: 2.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3586, allocations: 342.8 kB / 0.56 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.3588, allocations: 128.8 kB / 0.5602 GB, free: 2.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.3591, allocations: 330.8 kB / 0.5605 GB, free: 1.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.3597, allocations: 0.4942 MB / 0.561 GB, free: 1.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3597, allocations: 0 / 0.561 GB, free: 1.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001026/0.3608, allocations: 0.5588 MB / 0.5615 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3608, allocations: 8 kB / 0.5615 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005287/0.3613, allocations: 280.2 kB / 0.5618 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.3617, allocations: 80.78 kB / 0.5619 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.362, allocations: 95.83 kB / 0.5619 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.3638, allocations: 1.619 MB / 0.5635 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.3641, allocations: 15.98 kB / 0.5635 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.3641, allocations: 32 kB / 0.5636 GB, free: 14.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002715/0.3644, allocations: 213.6 kB / 0.5638 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.3644, allocations: 35.77 kB / 0.5638 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.3649, allocations: 299.8 kB / 0.5641 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3649, allocations: 0 / 0.5641 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.365, allocations: 7.938 kB / 0.5641 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.365, allocations: 4 kB / 0.5641 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.3662, allocations: 0.7644 MB / 0.5649 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3662, allocations: 4 kB / 0.5649 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.3665, allocations: 55.84 kB / 0.5649 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3665, allocations: 4 kB / 0.5649 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.3666, allocations: 4 kB / 0.5649 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3666, allocations: 12 kB / 0.5649 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3666, allocations: 0 / 0.5649 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.3672, allocations: 469.6 kB / 0.5654 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.3672, allocations: 39.8 kB / 0.5654 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.3673, allocations: 7.938 kB / 0.5654 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3675, allocations: 12 kB / 0.5654 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.3675, allocations: 15.97 kB / 0.5655 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.3675, allocations: 8 kB / 0.5655 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002442/0.3678, allocations: 235.2 kB / 0.5657 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3678, allocations: 4 kB / 0.5657 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004758/0.3683, allocations: 92 kB / 0.5658 GB, free: 12.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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.001025/0.3693, allocations: 1.021 MB / 0.5668 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009353/0.3702, allocations: 434.9 kB / 0.5672 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3702, allocations: 0 / 0.5672 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.3704, allocations: 103.9 kB / 0.5673 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.3709, allocations: 75.73 kB / 0.5674 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/0.3761, allocations: 4.006 MB / 0.5713 GB, free: 6.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.3767, allocations: 0.8701 MB / 0.5721 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002819/0.377, allocations: 111.2 kB / 0.5722 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.3772, allocations: 151.3 kB / 0.5724 GB, free: 5.039 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3772, allocations: 0 / 0.5724 GB, free: 5.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.4103, allocations: 7.874 MB / 0.5801 GB, free: 13.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.55, allocations: 0 / 0.5801 GB, free: 13.29 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.488017983967438] Failed to read output from testmodel.py, exit status != 0: 12.717188828042708 12.737789449 12.386256242 Calling exit ...