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.001135/0.001135, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.002268/0.002268, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9838/0.9838, allocations: 177.1 MB / 205 MB, free: 5.609 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.2548/0.2548, allocations: 29.42 MB / 290.9 MB, free: 2.488 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asynchron.i.[0-9,]+.|asynchron.v.[0-9,]+.|asynchron.w_el|power.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asynchron.i.[0-9,]+.|asynchron.v.[0-9,]+.|asynchron.w_el|power.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.785e-05, allocations: 5.703 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.005625/0.005653, allocations: 5.24 MB / 374.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005062/0.01071, allocations: 3.914 MB / 378.8 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.01105, allocations: 27.75 kB / 378.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00674/0.01779, allocations: 5.462 MB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.01832, allocations: 357.9 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.01878, allocations: 259.4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.02044, allocations: 1.668 MB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.02088, allocations: 328.4 kB / 386.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005282/0.02141, allocations: 0.5142 MB / 387.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/0.02184, allocations: 426.7 kB / 387.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.09e-05/0.0219, allocations: 44 kB / 387.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.0221, allocations: 111.9 kB / 388 MB, free: 8.602 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.02229, allocations: 303.2 kB / 388.3 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.02246, allocations: 215.4 kB / 388.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.02303, allocations: 0.5449 MB / 389 MB, free: 7.547 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.02303, allocations: 4 kB / 389 MB, free: 7.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.02303, allocations: 4 kB / 389 MB, free: 7.539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.02304, allocations: 0 / 389 MB, free: 7.539 MB / 362.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.001089/0.02413, allocations: 0.9526 MB / 390 MB, free: 6.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.02417, allocations: 11.98 kB / 390 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.02452, allocations: 140.4 kB / 390.1 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.02516, allocations: 499.1 kB / 390.6 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.02518, allocations: 41.3 kB / 390.7 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.02525, allocations: 55.89 kB / 390.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.02576, allocations: 465.1 kB / 391.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.02578, allocations: 7.938 kB / 391.2 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.02581, allocations: 16 kB / 391.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.057e-05/0.02589, allocations: 52.94 kB / 391.3 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.02622, allocations: 225.7 kB / 391.5 MB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.02843, allocations: 2.516 MB / 394 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.02872, allocations: 221 kB / 394.2 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.02884, allocations: 111 kB / 394.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.02886, allocations: 8 kB / 394.3 MB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.02889, allocations: 37.39 kB / 394.4 MB, free: 1.918 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.02889, allocations: 4 kB / 394.4 MB, free: 1.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001307/0.0302, allocations: 0.9594 MB / 395.3 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.03024, allocations: 114.8 kB / 395.4 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.03051, allocations: 438.6 kB / 395.9 MB, free: 328 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.03054, allocations: 29.7 kB / 395.9 MB, free: 292 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.03071, allocations: 379 kB / 396.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.03078, allocations: 130.9 kB / 396.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.03087, allocations: 95.84 kB / 396.5 MB, free: 15.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.03101, allocations: 0.5352 MB / 397 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.03111, allocations: 64.95 kB / 397.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.03129, allocations: 255 kB / 397.3 MB, free: 14.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.03163, allocations: 365.2 kB / 397.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.03163, allocations: 4 kB / 397.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006711/0.0323, allocations: 0.5149 MB / 398.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.03232, allocations: 8 kB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.03233, allocations: 7.984 kB / 398.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/0.03275, allocations: 171.5 kB / 398.4 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.03293, allocations: 75.89 kB / 398.5 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.03568, allocations: 4.098 MB / 402.6 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.03582, allocations: 16 kB / 402.6 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.03585, allocations: 27.98 kB / 402.6 MB, free: 9.113 MB / 378.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.0001276/0.03598, allocations: 184.5 kB / 402.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.03604, allocations: 63.61 kB / 402.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.03649, allocations: 348.6 kB / 403.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.03649, allocations: 4 kB / 403.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.0365, allocations: 0 / 403.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.0365, allocations: 0 / 403.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008498/0.03735, allocations: 0.816 MB / 404 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.03735, allocations: 0 / 404 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.03759, allocations: 75.89 kB / 404.1 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.236e-05/0.03768, allocations: 47.28 kB / 404.1 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.0377, allocations: 16.05 kB / 404.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.03922, allocations: 3.452 MB / 407.6 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.03922, allocations: 7.922 kB / 407.6 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.03978, allocations: 0.6762 MB / 408.3 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.03986, allocations: 67.64 kB / 408.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.03989, allocations: 8 kB / 408.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.04001, allocations: 16.05 kB / 408.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.04007, allocations: 31.95 kB / 408.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.04008, allocations: 15.94 kB / 408.4 MB, free: 2.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.04025, allocations: 275.1 kB / 408.7 MB, free: 2.656 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04025, allocations: 0 / 408.7 MB, free: 2.656 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003873/0.04064, allocations: 132 kB / 408.8 MB, free: 2.527 MB / 378.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.0001028/0.04074, allocations: 110.1 kB / 408.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007449/0.04148, allocations: 0.6839 MB / 409.6 MB, free: 1.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.04149, allocations: 0 / 409.6 MB, free: 1.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.04178, allocations: 480.7 kB / 410.1 MB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.04224, allocations: 92.92 kB / 410.2 MB, free: 1.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.04399, allocations: 1.251 MB / 411.4 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.04412, allocations: 185.7 kB / 411.6 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.0443, allocations: 88.28 kB / 411.7 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.04438, allocations: 36.5 kB / 411.7 MB, free: 15.47 MB / 394.7 MB Notification: Performance of SimCode: time 7.22e-07/0.04438, allocations: 0 / 411.7 MB, free: 15.47 MB / 394.7 MB Notification: Performance of Templates: time 0.009039/0.05342, allocations: 6.494 MB / 418.2 MB, free: 9.086 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1411705347709358]