Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.001815/0.001815, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.002367/0.002367, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.631/1.631, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.1997/0.1997, allocations: 38.5 MB / 349.4 MB, free: 2.566 MB / 270.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.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",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.002203/0.002203, allocations: 67.89 kB / 487.8 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.127, allocations: 62.42 MB / 0.5374 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007607/0.1347, allocations: 5.28 MB / 0.5425 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007111/0.1418, allocations: 4.028 MB / 0.5464 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005744/0.1423, allocations: 23.81 kB / 0.5465 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.1524, allocations: 4.827 MB / 0.5512 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.1535, allocations: 318.5 kB / 0.5515 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.1542, allocations: 211.7 kB / 0.5517 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002953/0.1572, allocations: 1.571 MB / 0.5532 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.1583, allocations: 0.5143 MB / 0.5537 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008542/0.1591, allocations: 374.7 kB / 0.5541 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008478/0.16, allocations: 450.3 kB / 0.5545 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.1601, allocations: 56 kB / 0.5546 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.1605, allocations: 67.98 kB / 0.5546 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004076/0.1609, allocations: 255.3 kB / 0.5549 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000656/0.1615, allocations: 334.4 kB / 0.5552 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.1631, allocations: 0.8095 MB / 0.556 GB, free: 4.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1631, allocations: 0 / 0.556 GB, free: 4.391 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1631, allocations: 0 / 0.556 GB, free: 4.391 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.455e-05/0.1631, allocations: 0 / 0.556 GB, free: 4.391 MB / 414.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.002236/0.1654, allocations: 0.8857 MB / 0.5568 GB, free: 3.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1654, allocations: 8.031 kB / 0.5569 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.305e-05/0.1654, allocations: 13.19 kB / 0.5569 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.1656, allocations: 94.69 kB / 0.557 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.1659, allocations: 72.52 kB / 0.557 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.1673, allocations: 0.5684 MB / 0.5576 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.1673, allocations: 36.98 kB / 0.5576 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.1675, allocations: 48 kB / 0.5577 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.1687, allocations: 0.6374 MB / 0.5583 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.1687, allocations: 0 / 0.5583 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.1687, allocations: 16 kB / 0.5583 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.1689, allocations: 56.95 kB / 0.5584 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008268/0.1697, allocations: 459.6 kB / 0.5588 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003656/0.1734, allocations: 2.507 MB / 0.5612 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.1739, allocations: 261.2 kB / 0.5615 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.1741, allocations: 125.7 kB / 0.5616 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.1741, allocations: 4.5 kB / 0.5616 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.1742, allocations: 46.48 kB / 0.5617 GB, free: 14.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.914e-06/0.1742, allocations: 3.938 kB / 0.5617 GB, free: 14.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.003444/0.1776, allocations: 1.552 MB / 0.5632 GB, free: 12.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.1777, allocations: 81.11 kB / 0.5633 GB, free: 12.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.1782, allocations: 413.8 kB / 0.5636 GB, free: 12.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.1783, allocations: 29.7 kB / 0.5637 GB, free: 12.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.1785, allocations: 312.1 kB / 0.564 GB, free: 11.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.1786, allocations: 111.1 kB / 0.5641 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.1787, allocations: 78.11 kB / 0.5642 GB, free: 11.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1789, allocations: 366.7 kB / 0.5645 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.1792, allocations: 132.8 kB / 0.5646 GB, free: 11.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.1795, allocations: 282.2 kB / 0.5649 GB, free: 10.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006842/0.1802, allocations: 445.7 kB / 0.5653 GB, free: 10.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.1802, allocations: 8 kB / 0.5653 GB, free: 10.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001258/0.1815, allocations: 0.6718 MB / 0.566 GB, free: 9.496 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1815, allocations: 11.94 kB / 0.566 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.1815, allocations: 7.984 kB / 0.566 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004964/0.182, allocations: 145.9 kB / 0.5661 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.1823, allocations: 79.89 kB / 0.5662 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/0.1862, allocations: 3.668 MB / 0.5698 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.1865, allocations: 15.98 kB / 0.5698 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.1866, allocations: 20 kB / 0.5698 GB, free: 5.266 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (42): * Single equations (assignments): 40 * 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 {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.1869, allocations: 241.7 kB / 0.5701 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.187, allocations: 55.59 kB / 0.5701 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.1881, allocations: 0.5633 MB / 0.5707 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1881, allocations: 4 kB / 0.5707 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0008052/0.1889, allocations: 482.3 kB / 0.5711 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1889, allocations: 3.984 kB / 0.5711 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.1906, allocations: 1.005 MB / 0.5721 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1906, allocations: 0 / 0.5721 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.1908, allocations: 48.06 kB / 0.5722 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/0.1911, allocations: 84.78 kB / 0.5723 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.1911, allocations: 15.88 kB / 0.5723 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.1935, allocations: 2.024 MB / 0.5742 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1935, allocations: 8.094 kB / 0.5743 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1946, allocations: 0.6393 MB / 0.5749 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.1948, allocations: 144.8 kB / 0.575 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.1948, allocations: 8 kB / 0.575 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.195, allocations: 11.94 kB / 0.575 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.1951, allocations: 23.97 kB / 0.5751 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.1951, allocations: 4 kB / 0.5751 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003818/0.1955, allocations: 307.1 kB / 0.5754 GB, free: 15.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1955, allocations: 0 / 0.5754 GB, free: 15.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000575/0.1961, allocations: 124 kB / 0.5755 GB, free: 15.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/0.1974, allocations: 1.181 MB / 0.5766 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.1985, allocations: 0.5927 MB / 0.5772 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1985, allocations: 4 kB / 0.5772 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.199, allocations: 290.4 kB / 0.5775 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.1997, allocations: 117.1 kB / 0.5776 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007255/0.207, allocations: 4.772 MB / 0.5823 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.2076, allocations: 0.9204 MB / 0.5832 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.2079, allocations: 84.31 kB / 0.5832 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.2081, allocations: 183.4 kB / 0.5834 GB, free: 6.645 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2081, allocations: 0 / 0.5834 GB, free: 6.645 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2837/0.4918, allocations: 10.56 MB / 0.5937 GB, free: 51.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.69, allocations: 13.31 kB / 0.5937 GB, free: 51.17 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.899295878014527] Failed to read output from testmodel.py, exit status != 0: 11.834216743009165 11.856110649 11.689126588 Calling exit ...