Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001295/0.001295, 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.001439/0.001439, 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.457/1.457, 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.1892/0.1892, allocations: 38.53 MB / 353.2 MB, free: 12.54 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.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",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.002015/0.002015, allocations: 67.91 kB / 493.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 62.45 MB / 0.5428 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007356/0.3361, allocations: 5.578 MB / 0.5482 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007151/0.3432, allocations: 4.236 MB / 0.5523 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00043/0.3437, allocations: 26.44 kB / 0.5524 GB, free: 8.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01364/0.3573, allocations: 5.48 MB / 0.5577 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.3587, allocations: 346.3 kB / 0.5581 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000927/0.3597, allocations: 255.4 kB / 0.5583 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002441/0.3621, allocations: 1.653 MB / 0.5599 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000542/0.3626, allocations: 328.3 kB / 0.5602 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005042/0.3631, allocations: 386.5 kB / 0.5606 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007343/0.3639, allocations: 490.2 kB / 0.5611 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.361e-05/0.364, allocations: 44 kB / 0.5611 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.3643, allocations: 131.8 kB / 0.5612 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.3645, allocations: 275.2 kB / 0.5615 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.3649, allocations: 326.3 kB / 0.5618 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000947/0.3658, allocations: 0.747 MB / 0.5625 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3658, allocations: 0 / 0.5625 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3658, allocations: 0 / 0.5625 GB, free: 208 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.3659, allocations: 0 / 0.5625 GB, free: 208 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001777/0.3676, allocations: 0.8572 MB / 0.5634 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3677, allocations: 11.98 kB / 0.5634 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.203e-05/0.3677, allocations: 17.17 kB / 0.5634 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.3678, allocations: 94.64 kB / 0.5635 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004471/0.3682, allocations: 96.47 kB / 0.5636 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3693, allocations: 496 kB / 0.5641 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.3694, allocations: 36.98 kB / 0.5641 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.3695, allocations: 51.98 kB / 0.5641 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.3705, allocations: 0.6453 MB / 0.5648 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.3705, allocations: 0 / 0.5648 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.3705, allocations: 27.98 kB / 0.5648 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.3707, allocations: 48.95 kB / 0.5648 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/0.3715, allocations: 495.5 kB / 0.5653 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00378/0.3753, allocations: 2.447 MB / 0.5677 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005481/0.3758, allocations: 299.6 kB / 0.568 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.3761, allocations: 166.6 kB / 0.5681 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.3761, allocations: 4 kB / 0.5682 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.3762, allocations: 42.48 kB / 0.5682 GB, free: 10.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.3762, allocations: 0 / 0.5682 GB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002557/0.3787, allocations: 1.274 MB / 0.5694 GB, free: 8.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.3788, allocations: 111 kB / 0.5695 GB, free: 8.676 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/0.3793, allocations: 425.8 kB / 0.5699 GB, free: 8.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.3793, allocations: 33.7 kB / 0.57 GB, free: 8.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.3796, allocations: 316.2 kB / 0.5703 GB, free: 7.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.3797, allocations: 122.9 kB / 0.5704 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.3799, allocations: 90.17 kB / 0.5705 GB, free: 7.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3801, allocations: 362.7 kB / 0.5708 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.3803, allocations: 160.9 kB / 0.571 GB, free: 7.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.3808, allocations: 307.2 kB / 0.5713 GB, free: 6.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/0.3815, allocations: 495.7 kB / 0.5718 GB, free: 6.262 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3815, allocations: 0 / 0.5718 GB, free: 6.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001456/0.383, allocations: 0.7165 MB / 0.5725 GB, free: 5.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.383, allocations: 10.81 kB / 0.5725 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.383, allocations: 4 kB / 0.5725 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000659/0.3837, allocations: 213.8 kB / 0.5727 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.384, allocations: 71.89 kB / 0.5727 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005166/0.3892, allocations: 4.026 MB / 0.5767 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.3896, allocations: 23.98 kB / 0.5767 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.3897, allocations: 20 kB / 0.5767 GB, free: 0.9414 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003595/0.39, allocations: 217.7 kB / 0.5769 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3901, allocations: 51.67 kB / 0.577 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.3912, allocations: 499 kB / 0.5774 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3912, allocations: 8 kB / 0.5775 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3912, allocations: 0 / 0.5775 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.3912, allocations: 3.984 kB / 0.5775 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.3932, allocations: 1.016 MB / 0.5784 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3932, allocations: 3.938 kB / 0.5785 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.3936, allocations: 71.89 kB / 0.5785 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/0.3938, allocations: 61.67 kB / 0.5786 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.3939, allocations: 11.98 kB / 0.5786 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.3962, allocations: 2.628 MB / 0.5812 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3962, allocations: 0 / 0.5812 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.3974, allocations: 0.8103 MB / 0.5819 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.3976, allocations: 75.64 kB / 0.582 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.3976, allocations: 12 kB / 0.582 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.3979, allocations: 15.98 kB / 0.582 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.398, allocations: 23.95 kB / 0.5821 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.398, allocations: 12 kB / 0.5821 GB, free: 11.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003938/0.3984, allocations: 291.1 kB / 0.5824 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3984, allocations: 0 / 0.5824 GB, free: 10.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007562/0.3991, allocations: 136 kB / 0.5825 GB, free: 10.67 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/0.4007, allocations: 1.367 MB / 0.5838 GB, free: 9.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.4021, allocations: 0.7118 MB / 0.5845 GB, free: 8.523 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.4021, allocations: 0 / 0.5845 GB, free: 8.523 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005789/0.4027, allocations: 413.9 kB / 0.5849 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007727/0.4035, allocations: 116.4 kB / 0.585 GB, free: 7.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008262/0.4117, allocations: 5.405 MB / 0.5903 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.4124, allocations: 0.9483 MB / 0.5912 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000323/0.4127, allocations: 104.4 kB / 0.5913 GB, free: 1.273 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.413, allocations: 199.4 kB / 0.5915 GB, free: 1.078 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.413, allocations: 0 / 0.5915 GB, free: 1.078 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04568/0.4587, allocations: 12.66 MB / 0.6039 GB, free: 4.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.35, allocations: 4 kB / 0.6039 GB, free: 4.586 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.217182368040085] Failed to read output from testmodel.py, exit status != 0: 14.53533557598712 14.561857194 14.19107295 Calling exit ...