Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001287/0.001287, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00212/0.00212, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.1969/0.1969, allocations: 38.53 MB / 353.2 MB, free: 12.52 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.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.002331/0.002331, allocations: 71.91 kB / 493.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.333, allocations: 62.47 MB / 0.5428 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.007243/0.3402, allocations: 4.724 MB / 0.5474 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004118/0.3443, allocations: 1.617 MB / 0.549 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.3448, allocations: 21 kB / 0.549 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.3458, allocations: 302.5 kB / 0.5493 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008842/0.3467, allocations: 273.7 kB / 0.5495 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.3478, allocations: 264.5 kB / 0.5498 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.3491, allocations: 0.6022 MB / 0.5504 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004892/0.3496, allocations: 220.7 kB / 0.5506 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006246/0.3502, allocations: 286.1 kB / 0.5509 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006512/0.3508, allocations: 352.1 kB / 0.5512 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.586e-05/0.3509, allocations: 34.28 kB / 0.5512 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.3514, allocations: 166.1 kB / 0.5514 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.3516, allocations: 228.8 kB / 0.5516 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.352, allocations: 242.8 kB / 0.5518 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.353, allocations: 0.604 MB / 0.5524 GB, free: 9.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.353, allocations: 0.7812 kB / 0.5524 GB, free: 9.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.353, allocations: 0 / 0.5524 GB, free: 9.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.3531, allocations: 0 / 0.5524 GB, free: 9.191 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001719/0.3548, allocations: 0.7185 MB / 0.5531 GB, free: 8.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.3548, allocations: 13.55 kB / 0.5531 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.867e-05/0.3549, allocations: 11.34 kB / 0.5531 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.355, allocations: 88.08 kB / 0.5532 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.3558, allocations: 126.6 kB / 0.5533 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007567/0.3566, allocations: 348.2 kB / 0.5537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.3566, allocations: 37.23 kB / 0.5537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.3568, allocations: 46.86 kB / 0.5538 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.3579, allocations: 0.664 MB / 0.5544 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.3579, allocations: 6.594 kB / 0.5544 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/0.358, allocations: 20.77 kB / 0.5544 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/0.3581, allocations: 50.62 kB / 0.5545 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008444/0.359, allocations: 0.4893 MB / 0.555 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003925/0.3629, allocations: 3.066 MB / 0.558 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.3634, allocations: 237.2 kB / 0.5582 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.3636, allocations: 117.7 kB / 0.5583 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.926e-05/0.3637, allocations: 19.91 kB / 0.5583 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3637, allocations: 30.56 kB / 0.5583 GB, free: 4.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/0.3637, allocations: 4 kB / 0.5583 GB, free: 4.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.00165/0.3653, allocations: 0.8225 MB / 0.5592 GB, free: 3.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.3654, allocations: 85.05 kB / 0.5592 GB, free: 3.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.3658, allocations: 332.4 kB / 0.5595 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.3658, allocations: 29.7 kB / 0.5596 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.3661, allocations: 303.9 kB / 0.5599 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/0.3662, allocations: 91.22 kB / 0.56 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.3663, allocations: 86.08 kB / 0.56 GB, free: 2.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3665, allocations: 354.8 kB / 0.5604 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.3667, allocations: 128.8 kB / 0.5605 GB, free: 1.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.3671, allocations: 321.1 kB / 0.5608 GB, free: 1.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.3678, allocations: 0.4893 MB / 0.5613 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3678, allocations: 4 kB / 0.5613 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001167/0.3689, allocations: 0.5958 MB / 0.5619 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3689, allocations: 11.75 kB / 0.5619 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006441/0.3696, allocations: 321.8 kB / 0.5622 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004673/0.3701, allocations: 117.6 kB / 0.5623 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.3704, allocations: 83.83 kB / 0.5624 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.3735, allocations: 3.082 MB / 0.5654 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.3738, allocations: 23.98 kB / 0.5654 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.3738, allocations: 16 kB / 0.5654 GB, free: 12.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003173/0.3742, allocations: 217.7 kB / 0.5656 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.3742, allocations: 27.81 kB / 0.5657 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.3748, allocations: 320.8 kB / 0.566 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3748, allocations: 3.938 kB / 0.566 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3748, allocations: 4 kB / 0.566 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3748, allocations: 3.984 kB / 0.566 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.3761, allocations: 0.7706 MB / 0.5667 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.3761, allocations: 3.938 kB / 0.5667 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.3765, allocations: 59.84 kB / 0.5668 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.3765, allocations: 4 kB / 0.5668 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.3765, allocations: 15.94 kB / 0.5668 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3765, allocations: 0 / 0.5668 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3765, allocations: 4.062 kB / 0.5668 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/0.3772, allocations: 0.5099 MB / 0.5673 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.3774, allocations: 55.62 kB / 0.5674 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.3774, allocations: 8 kB / 0.5674 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.3776, allocations: 11.98 kB / 0.5674 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.3776, allocations: 27.83 kB / 0.5674 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3776, allocations: 4 kB / 0.5674 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002471/0.3779, allocations: 223 kB / 0.5676 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3779, allocations: 0 / 0.5676 GB, free: 10.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005445/0.3784, allocations: 100 kB / 0.5677 GB, free: 10.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.00106/0.3795, allocations: 1.055 MB / 0.5688 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.3805, allocations: 0.5688 MB / 0.5693 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3805, allocations: 0 / 0.5693 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.3808, allocations: 119.8 kB / 0.5694 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.3813, allocations: 66.03 kB / 0.5695 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005812/0.3871, allocations: 4.081 MB / 0.5735 GB, free: 3.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/0.3877, allocations: 0.866 MB / 0.5743 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003409/0.388, allocations: 111.2 kB / 0.5744 GB, free: 2.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.3883, allocations: 151.3 kB / 0.5746 GB, free: 2.625 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3883, allocations: 0 / 0.5746 GB, free: 2.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/0.4269, allocations: 8.104 MB / 0.5825 GB, free: 10.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.61, allocations: 0 / 0.5825 GB, free: 10.67 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.477740267000627] Failed to read output from testmodel.py, exit status != 0: 12.782925515028182 12.803616317 12.447072514 Calling exit ...