Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.001837/0.001837, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002445/0.002445, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.187/0.187, allocations: 38.55 MB / 353.2 MB, free: 12.3 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.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",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.002277/0.002277, allocations: 55.91 kB / 493.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3307, allocations: 62.48 MB / 0.5427 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008058/0.3388, allocations: 6.23 MB / 0.5488 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005448/0.3442, allocations: 2.305 MB / 0.551 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009412/0.3451, allocations: 39.22 kB / 0.5511 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.3469, allocations: 0.593 MB / 0.5517 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.3493, allocations: 0.6904 MB / 0.5523 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.3508, allocations: 455.2 kB / 0.5528 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002085/0.3529, allocations: 1.368 MB / 0.5541 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006683/0.3535, allocations: 408.2 kB / 0.5545 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.3546, allocations: 0.6002 MB / 0.5551 GB, free: 6.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.3561, allocations: 0.8637 MB / 0.5559 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.3563, allocations: 73.91 kB / 0.556 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007914/0.3571, allocations: 291.5 kB / 0.5563 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005929/0.3577, allocations: 0.5259 MB / 0.5568 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005748/0.3583, allocations: 449.9 kB / 0.5572 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.36, allocations: 1.358 MB / 0.5585 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.36, allocations: 0 / 0.5585 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.36, allocations: 0 / 0.5585 GB, free: 4.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.36, allocations: 0 / 0.5585 GB, free: 4.008 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002548/0.3626, allocations: 1.285 MB / 0.5598 GB, free: 2.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.3626, allocations: 11.98 kB / 0.5598 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.194e-05/0.3627, allocations: 22.19 kB / 0.5598 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002087/0.3629, allocations: 164.3 kB / 0.56 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.3643, allocations: 267.9 kB / 0.5602 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.3657, allocations: 0.6418 MB / 0.5609 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.36e-05/0.3658, allocations: 74.09 kB / 0.5609 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/0.366, allocations: 87.98 kB / 0.561 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.3682, allocations: 1.413 MB / 0.5624 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.3683, allocations: 3.938 kB / 0.5624 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.362e-05/0.3684, allocations: 39.98 kB / 0.5624 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002785/0.3686, allocations: 117.9 kB / 0.5626 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.3705, allocations: 1.126 MB / 0.5637 GB, free: 14.57 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 preOpt removeSimpleEquations (simulation): time 0.007098/0.3776, allocations: 5.472 MB / 0.569 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.3787, allocations: 0.6083 MB / 0.5696 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.3791, allocations: 316.8 kB / 0.5699 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-05/0.3792, allocations: 12.48 kB / 0.5699 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007317/0.3799, allocations: 0.4946 MB / 0.5704 GB, free: 7.359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.444e-06/0.3799, allocations: 4 kB / 0.5704 GB, free: 7.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003548/0.3835, allocations: 2.173 MB / 0.5725 GB, free: 5.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.3836, allocations: 170.8 kB / 0.5727 GB, free: 4.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007696/0.3844, allocations: 0.6445 MB / 0.5733 GB, free: 4.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.3844, allocations: 37.7 kB / 0.5733 GB, free: 4.223 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.3849, allocations: 0.5424 MB / 0.5739 GB, free: 3.672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.3851, allocations: 242 kB / 0.5741 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/0.3854, allocations: 210.8 kB / 0.5743 GB, free: 3.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.3856, allocations: 386.8 kB / 0.5747 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/0.3862, allocations: 372.1 kB / 0.575 GB, free: 2.465 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009475/0.3871, allocations: 0.7953 MB / 0.5758 GB, free: 1.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.3888, allocations: 1.25 MB / 0.577 GB, free: 15.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3888, allocations: 4 kB / 0.577 GB, free: 15.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002652/0.3915, allocations: 1.47 MB / 0.5785 GB, free: 14.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/0.3915, allocations: 37.7 kB / 0.5785 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001494/0.393, allocations: 0.7805 MB / 0.5793 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007989/0.3938, allocations: 253.4 kB / 0.5795 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.3945, allocations: 215.6 kB / 0.5797 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005321/0.3999, allocations: 4.148 MB / 0.5838 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/0.4006, allocations: 55.97 kB / 0.5838 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.4007, allocations: 59.98 kB / 0.5839 GB, free: 8.707 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000633/0.4014, allocations: 395 kB / 0.5842 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.4015, allocations: 83.48 kB / 0.5843 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.4031, allocations: 0.8868 MB / 0.5852 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.4031, allocations: 8 kB / 0.5852 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.4031, allocations: 0 / 0.5852 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.4031, allocations: 3.984 kB / 0.5852 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.406, allocations: 1.715 MB / 0.5869 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.406, allocations: 4 kB / 0.5869 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/0.4067, allocations: 151.9 kB / 0.587 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.4067, allocations: 7.984 kB / 0.587 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.4068, allocations: 16 kB / 0.587 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.4068, allocations: 4 kB / 0.5871 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4068, allocations: 7.984 kB / 0.5871 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.4088, allocations: 1.377 MB / 0.5884 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.4091, allocations: 127.5 kB / 0.5885 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.4093, allocations: 19.98 kB / 0.5885 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.4096, allocations: 35.97 kB / 0.5886 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4098, allocations: 48.36 kB / 0.5886 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.97e-05/0.4099, allocations: 39.97 kB / 0.5887 GB, free: 3.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000571/0.4104, allocations: 431 kB / 0.5891 GB, free: 3.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4104, allocations: 3.938 kB / 0.5891 GB, free: 3.203 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00101/0.4114, allocations: 235.9 kB / 0.5893 GB, free: 2.973 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.002532/0.414, allocations: 1.938 MB / 0.5912 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.4164, allocations: 1.26 MB / 0.5924 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.4164, allocations: 1.75 kB / 0.5924 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007085/0.4171, allocations: 443.8 kB / 0.5929 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000865/0.418, allocations: 147.9 kB / 0.593 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.4305, allocations: 8.233 MB / 0.601 GB, free: 6.246 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.4311, allocations: 0.5116 MB / 0.6015 GB, free: 5.703 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000694/0.4318, allocations: 290.3 kB / 0.6018 GB, free: 5.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.4323, allocations: 339.3 kB / 0.6021 GB, free: 5.082 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4323, allocations: 0 / 0.6021 GB, free: 5.082 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04914/0.4814, allocations: 17.14 MB / 0.6189 GB, free: 4.199 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.56, allocations: 19.06 kB / 0.6189 GB, free: 4.184 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.538346225046553] Failed to read output from testmodel.py, exit status != 0: 13.738296665949747 13.766045768 13.400910496 Calling exit ...