Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0008951/0.0008951, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009046/0.0009046, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9547/0.9547, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2353/0.2353, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.914e-05, allocations: 4.672 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.005812/0.005831, allocations: 5.192 MB / 435.4 MB, free: 8.391 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005442/0.01127, allocations: 3.817 MB / 439.2 MB, free: 4.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004493/0.01172, allocations: 23.81 kB / 439.2 MB, free: 4.535 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2144/0.2261, allocations: 5.417 MB / 444.7 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009189/0.227, allocations: 351.3 kB / 445 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.2276, allocations: 265.7 kB / 445.3 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.2287, allocations: 1.665 MB / 446.9 MB, free: 45.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.2291, allocations: 324.7 kB / 447.2 MB, free: 45.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.2294, allocations: 0.493 MB / 447.7 MB, free: 45.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.2298, allocations: 430.4 kB / 448.2 MB, free: 45.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.2298, allocations: 47.47 kB / 448.2 MB, free: 45.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.23, allocations: 119.4 kB / 448.3 MB, free: 45.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.2301, allocations: 301.2 kB / 448.6 MB, free: 45.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.2303, allocations: 221.1 kB / 448.8 MB, free: 45.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.2308, allocations: 0.7546 MB / 449.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2308, allocations: 3.375 kB / 449.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2308, allocations: 0 / 449.6 MB, free: 45.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.2308, allocations: 0 / 449.6 MB, free: 45.64 MB / 410.7 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.000988/0.2318, allocations: 0.8441 MB / 450.4 MB, free: 45.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2319, allocations: 13.55 kB / 450.4 MB, free: 45.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.24e-05/0.2319, allocations: 85.73 kB / 450.5 MB, free: 45.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.2322, allocations: 102.8 kB / 450.6 MB, free: 45.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.2328, allocations: 495.8 kB / 451.1 MB, free: 44.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.2328, allocations: 39.55 kB / 451.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.2329, allocations: 52.48 kB / 451.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.2334, allocations: 0.649 MB / 451.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.2334, allocations: 9.031 kB / 451.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.2335, allocations: 19.25 kB / 451.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-05/0.2335, allocations: 56.33 kB / 451.9 MB, free: 44.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.234, allocations: 491 kB / 452.4 MB, free: 44.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.2356, allocations: 2.337 MB / 454.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.2359, allocations: 299.1 kB / 455 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.2361, allocations: 165.4 kB / 455.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2361, allocations: 9.406 kB / 455.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.2361, allocations: 41.44 kB / 455.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.2361, allocations: 0 / 455.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.00135/0.2374, allocations: 1.272 MB / 456.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.2375, allocations: 106.4 kB / 456.6 MB, free: 42.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.2377, allocations: 435.5 kB / 457.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.2377, allocations: 36.89 kB / 457.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.2379, allocations: 304.4 kB / 457.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.2379, allocations: 129.6 kB / 457.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.238, allocations: 86.91 kB / 457.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.2381, allocations: 364.4 kB / 458 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.2383, allocations: 162.9 kB / 458.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.2384, allocations: 298.5 kB / 458.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.2388, allocations: 498.1 kB / 458.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2388, allocations: 3.219 kB / 458.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006962/0.2395, allocations: 0.712 MB / 459.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2395, allocations: 6.531 kB / 459.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2395, allocations: 9.719 kB / 459.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003657/0.2399, allocations: 205.9 kB / 459.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.24, allocations: 75.22 kB / 459.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.2423, allocations: 3.99 MB / 463.9 MB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2425, allocations: 21.69 kB / 463.9 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.2425, allocations: 20.44 kB / 463.9 MB, free: 37.39 MB / 410.7 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.0001601/0.2426, allocations: 237.4 kB / 464.2 MB, free: 37.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.2427, allocations: 46.66 kB / 464.2 MB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.2432, allocations: 495.6 kB / 464.7 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.2432, allocations: 6.156 kB / 464.7 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2432, allocations: 0 / 464.7 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2432, allocations: 10.33 kB / 464.7 MB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008474/0.244, allocations: 0.9792 MB / 465.7 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.244, allocations: 0 / 465.7 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.2442, allocations: 70.45 kB / 465.8 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.806e-05/0.2443, allocations: 57.61 kB / 465.8 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.2443, allocations: 10.44 kB / 465.8 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007204/0.2451, allocations: 2.613 MB / 468.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2451, allocations: 0 / 468.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.2456, allocations: 0.808 MB / 469.2 MB, free: 33.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.2457, allocations: 78.89 kB / 469.3 MB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.2457, allocations: 10.28 kB / 469.3 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2458, allocations: 18.7 kB / 469.4 MB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.2459, allocations: 30.62 kB / 469.4 MB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2459, allocations: 10.25 kB / 469.4 MB, free: 33.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.2461, allocations: 292.5 kB / 469.7 MB, free: 33.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2461, allocations: 0 / 469.7 MB, free: 33.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.2464, allocations: 134 kB / 469.8 MB, free: 33.22 MB / 410.7 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.0006759/0.2471, allocations: 1.364 MB / 471.2 MB, free: 32.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007002/0.2478, allocations: 0.718 MB / 471.9 MB, free: 31.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2478, allocations: 0 / 471.9 MB, free: 31.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.248, allocations: 410.3 kB / 472.3 MB, free: 31.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.2485, allocations: 118.9 kB / 472.4 MB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.2527, allocations: 5.226 MB / 477.6 MB, free: 28.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.253, allocations: 346.5 kB / 478 MB, free: 28.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.2532, allocations: 102 kB / 478.1 MB, free: 28.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.2533, allocations: 201.4 kB / 478.3 MB, free: 28.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2533, allocations: 0 / 478.3 MB, free: 28.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.2857, allocations: 13.05 MB / 491.3 MB, free: 26.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.257, allocations: 5.281 kB / 491.3 MB, free: 26.42 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Machines.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.327719241380692]