Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.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.001614/0.001614, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001692/0.001692, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.387/1.387, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1848/0.1848, allocations: 38.53 MB / 353.2 MB, free: 12.55 MB / 286.1 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: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm.motor.slip|power.p.1.|power.p.2.|power.p.3.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm.motor.slip|power.p.1.|power.p.2.|power.p.3.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") [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.002046/0.002046, allocations: 71.89 kB / 493.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2841, allocations: 62.47 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009276/0.2934, allocations: 7.336 MB / 0.5504 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009249/0.3026, allocations: 5.335 MB / 0.5556 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009132/0.3035, allocations: 39.44 kB / 0.5556 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.014/0.3175, allocations: 6.607 MB / 0.5621 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.3194, allocations: 0.5675 MB / 0.5627 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.321, allocations: 0.5026 MB / 0.5631 GB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004108/0.3251, allocations: 2.39 MB / 0.5655 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.3265, allocations: 0.8726 MB / 0.5663 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.3277, allocations: 0.6228 MB / 0.5669 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.3291, allocations: 0.7825 MB / 0.5677 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002517/0.3294, allocations: 104 kB / 0.5678 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008312/0.3302, allocations: 323.7 kB / 0.5681 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006335/0.3308, allocations: 0.5064 MB / 0.5686 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009115/0.3317, allocations: 0.5831 MB / 0.5692 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.3341, allocations: 1.603 MB / 0.5707 GB, free: 8.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3341, allocations: 0 / 0.5707 GB, free: 8.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3341, allocations: 0 / 0.5707 GB, free: 8.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.968e-05/0.3341, allocations: 0 / 0.5707 GB, free: 8.23 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003719/0.3379, allocations: 1.438 MB / 0.5721 GB, free: 6.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3379, allocations: 15.98 kB / 0.5722 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008685/0.3388, allocations: 184.1 kB / 0.5723 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.3408, allocations: 0.8418 MB / 0.5732 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.3408, allocations: 65.98 kB / 0.5732 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.3411, allocations: 91.95 kB / 0.5733 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.3431, allocations: 1.227 MB / 0.5745 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.3431, allocations: 7.984 kB / 0.5745 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.802e-05/0.3432, allocations: 31.98 kB / 0.5745 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002423/0.3434, allocations: 85.95 kB / 0.5746 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.3451, allocations: 1.011 MB / 0.5756 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007023/0.3521, allocations: 4.743 MB / 0.5802 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009498/0.3531, allocations: 0.542 MB / 0.5808 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.3536, allocations: 323.1 kB / 0.5811 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.863e-05/0.3537, allocations: 12.48 kB / 0.5811 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006715/0.3544, allocations: 456.7 kB / 0.5815 GB, free: 12.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.624e-06/0.3544, allocations: 0 / 0.5815 GB, free: 12.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.004871/0.3592, allocations: 2.371 MB / 0.5838 GB, free: 10.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.3593, allocations: 111.5 kB / 0.584 GB, free: 10.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.3604, allocations: 0.7663 MB / 0.5847 GB, free: 9.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.776e-05/0.3605, allocations: 37.7 kB / 0.5847 GB, free: 9.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.361, allocations: 0.5116 MB / 0.5852 GB, free: 8.926 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.3612, allocations: 253.9 kB / 0.5855 GB, free: 8.676 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.3615, allocations: 186.5 kB / 0.5857 GB, free: 8.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.3618, allocations: 398.7 kB / 0.586 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/0.3624, allocations: 373.8 kB / 0.5864 GB, free: 7.723 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/0.3632, allocations: 0.6538 MB / 0.587 GB, free: 6.941 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.3647, allocations: 1.053 MB / 0.5881 GB, free: 5.766 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.3647, allocations: 4 kB / 0.5881 GB, free: 5.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003177/0.3679, allocations: 1.536 MB / 0.5896 GB, free: 4.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.3679, allocations: 15.94 kB / 0.5896 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.3679, allocations: 8 kB / 0.5896 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/0.3695, allocations: 494.1 kB / 0.5901 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.3702, allocations: 171.7 kB / 0.5902 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.3803, allocations: 6.882 MB / 0.5969 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006931/0.381, allocations: 48 kB / 0.597 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.3811, allocations: 47.98 kB / 0.597 GB, free: 12.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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 {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0005682/0.3816, allocations: 353.4 kB / 0.5974 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.3818, allocations: 87.44 kB / 0.5975 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.3837, allocations: 0.9615 MB / 0.5984 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.3837, allocations: 12 kB / 0.5984 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3837, allocations: 128 / 0.5984 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.3837, allocations: 7.984 kB / 0.5984 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.3874, allocations: 1.95 MB / 0.6003 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3874, allocations: 0 / 0.6003 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/0.3881, allocations: 119.8 kB / 0.6004 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005348/0.3887, allocations: 166.3 kB / 0.6006 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.671e-05/0.3887, allocations: 19.98 kB / 0.6006 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004451/0.3932, allocations: 4.499 MB / 0.605 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3932, allocations: 4.031 kB / 0.605 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.3956, allocations: 1.383 MB / 0.6064 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.396, allocations: 135.4 kB / 0.6065 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.3962, allocations: 23.98 kB / 0.6065 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.3967, allocations: 31.91 kB / 0.6065 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.3968, allocations: 60.34 kB / 0.6066 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.3969, allocations: 23.98 kB / 0.6066 GB, free: 2.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000785/0.3976, allocations: 0.5224 MB / 0.6071 GB, free: 1.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3976, allocations: 0 / 0.6071 GB, free: 1.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001093/0.3987, allocations: 279.9 kB / 0.6074 GB, free: 1.227 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,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.00165/0.4004, allocations: 492.4 kB / 0.6079 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002555/0.4029, allocations: 1.279 MB / 0.6091 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4029, allocations: 0 / 0.6091 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.4042, allocations: 0.7658 MB / 0.6099 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.4053, allocations: 218.1 kB / 0.6101 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.4103, allocations: 2.808 MB / 0.6128 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.4114, allocations: 1.151 MB / 0.6139 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.4117, allocations: 79.41 kB / 0.614 GB, free: 10.46 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4117, allocations: 0 / 0.614 GB, free: 10.46 MB / 462.1 MB Notification: Performance of Templates: time 0.03258/0.4443, allocations: 23.48 MB / 0.6369 GB, free: 3.02 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMav.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.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.211078977910802]