Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.001447/0.001447, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001181/0.001181, allocations: 168.2 kB / 24.99 MB, free: 8.758 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 1.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2661/0.2661, allocations: 29.42 MB / 291.2 MB, free: 2.512 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: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.61e-05, allocations: 2.312 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005824/0.00585, allocations: 5.841 MB / 375.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.0084, allocations: 2.235 MB / 377.7 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003093/0.00871, allocations: 23.81 kB / 377.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.009214, allocations: 178.6 kB / 377.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007533/0.009967, allocations: 465.1 kB / 378.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.01048, allocations: 255.4 kB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.01151, allocations: 0.8872 MB / 379.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000431/0.01194, allocations: 401.3 kB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007683/0.01271, allocations: 0.5025 MB / 380.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.01308, allocations: 311.1 kB / 380.7 MB, free: 216 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.01313, allocations: 52 kB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.01334, allocations: 147.8 kB / 380.9 MB, free: 16 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.0135, allocations: 191.5 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.01367, allocations: 211.5 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.01431, allocations: 0.5333 MB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01431, allocations: 0 / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01431, allocations: 0 / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.01432, allocations: 0 / 381.8 MB, free: 15.09 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00112/0.01544, allocations: 0.9568 MB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.01548, allocations: 11.98 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.01561, allocations: 104.5 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.01625, allocations: 0.4908 MB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.01628, allocations: 33.12 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.01637, allocations: 48 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.01685, allocations: 438.6 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.01687, allocations: 7.953 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.0169, allocations: 16 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.01696, allocations: 16.98 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.01722, allocations: 173.7 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.01894, allocations: 2.206 MB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.01922, allocations: 193.1 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.0193, allocations: 63.16 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.01932, allocations: 8 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.01951, allocations: 154.8 kB / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.01952, allocations: 0 / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001425/0.02094, allocations: 0.7517 MB / 387.4 MB, free: 9.098 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.735e-05/0.02102, allocations: 136.5 kB / 387.6 MB, free: 8.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.02141, allocations: 438.5 kB / 388 MB, free: 8.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.02143, allocations: 29.95 kB / 388 MB, free: 8.449 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.02159, allocations: 358.9 kB / 388.4 MB, free: 8.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.02164, allocations: 99.39 kB / 388.5 MB, free: 7.992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.02173, allocations: 79.81 kB / 388.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.02187, allocations: 0.5235 MB / 389.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.02195, allocations: 48.97 kB / 389.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.02211, allocations: 260.4 kB / 389.4 MB, free: 6.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.0224, allocations: 318.7 kB / 389.7 MB, free: 6.586 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.0224, allocations: 0 / 389.7 MB, free: 6.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005033/0.02291, allocations: 372.8 kB / 390.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.02292, allocations: 8 kB / 390.1 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.02293, allocations: 4 kB / 390.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.02324, allocations: 95.75 kB / 390.2 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.02339, allocations: 75.84 kB / 390.2 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.02479, allocations: 2.014 MB / 392.3 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.02492, allocations: 27.89 kB / 392.3 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.02494, allocations: 12 kB / 392.3 MB, free: 3.859 MB / 362.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: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.02507, allocations: 188.4 kB / 392.5 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.02512, allocations: 55.7 kB / 392.5 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.02544, allocations: 224.9 kB / 392.8 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.02545, allocations: 4 kB / 392.8 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.02545, allocations: 8 kB / 392.8 MB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02546, allocations: 7.922 kB / 392.8 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/0.02614, allocations: 0.6518 MB / 393.4 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02614, allocations: 0 / 393.4 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.02629, allocations: 47.91 kB / 393.5 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.02641, allocations: 39.64 kB / 393.5 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.02642, allocations: 11.98 kB / 393.5 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.02759, allocations: 1.83 MB / 395.4 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02759, allocations: 0 / 395.4 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.028, allocations: 438.3 kB / 395.8 MB, free: 148 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.02808, allocations: 59.88 kB / 395.8 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.02811, allocations: 11.98 kB / 395.8 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.666e-05/0.0282, allocations: 8 kB / 395.9 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.02826, allocations: 31.8 kB / 395.9 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.02828, allocations: 4 kB / 395.9 MB, free: 32 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.02848, allocations: 283.1 kB / 396.2 MB, free: 15.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02848, allocations: 0 / 396.2 MB, free: 15.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003921/0.02887, allocations: 131.9 kB / 396.3 MB, free: 15.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,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 (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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009701/0.02984, allocations: 460.5 kB / 396.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005207/0.03036, allocations: 391 kB / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03036, allocations: 0 / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.03058, allocations: 269.6 kB / 397.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.03099, allocations: 123 kB / 397.5 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.03266, allocations: 1.049 MB / 398.6 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.018e-05/0.03275, allocations: 145.1 kB / 398.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.0329, allocations: 59.36 kB / 398.8 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.03296, allocations: 36.48 kB / 398.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03296, allocations: 0 / 398.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of Templates: time 0.00912/0.04208, allocations: 6.611 MB / 405.4 MB, free: 6.684 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.5106471269391477]