Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001372/0.001372, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001422/0.001422, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.199/1.199, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2927/0.2927, allocations: 29.42 MB / 291.2 MB, free: 2.387 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.506e-06/3.506e-06, allocations: 0 / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.673e-05/5.023e-05, allocations: 5.406 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005102/0.005153, allocations: 4.045 MB / 374.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.007478, allocations: 1.32 MB / 375.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.007736, allocations: 23.81 kB / 375.5 MB, free: 5.281 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007522/0.008488, allocations: 270.8 kB / 375.8 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.009031, allocations: 258.5 kB / 376 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007065/0.009738, allocations: 255.2 kB / 376.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.01039, allocations: 0.565 MB / 376.8 MB, free: 3.945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005828/0.01098, allocations: 229.6 kB / 377 MB, free: 3.723 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005451/0.01152, allocations: 379 kB / 377.4 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.01186, allocations: 323.1 kB / 377.7 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.01191, allocations: 40 kB / 377.8 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.01232, allocations: 243.5 kB / 378 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.01254, allocations: 247.4 kB / 378.2 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.01269, allocations: 183.6 kB / 378.4 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006902/0.01338, allocations: 0.5412 MB / 379 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01339, allocations: 0 / 379 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.01339, allocations: 0 / 379 MB, free: 1.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.0134, allocations: 0 / 379 MB, free: 1.793 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009633/0.01436, allocations: 0.7781 MB / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.01441, allocations: 15.98 kB / 379.8 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004768/0.01488, allocations: 148.5 kB / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.01527, allocations: 335.1 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.01529, allocations: 29.38 kB / 380.3 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.01538, allocations: 52.47 kB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.01583, allocations: 433.4 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.01584, allocations: 0 / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.01587, allocations: 19.98 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-05/0.01596, allocations: 44.97 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.01626, allocations: 246.7 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.01848, allocations: 2.423 MB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.01874, allocations: 174.4 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.01883, allocations: 91.33 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.01886, allocations: 8 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.01889, allocations: 41.39 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.01889, allocations: 0 / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001128/0.02002, allocations: 0.6629 MB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.02006, allocations: 85.05 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.02026, allocations: 334.2 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.02027, allocations: 33.7 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.02042, allocations: 314.8 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.368e-05/0.0205, allocations: 158.7 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.0206, allocations: 103.8 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.02076, allocations: 0.5312 MB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.02083, allocations: 57.11 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.02103, allocations: 294.5 kB / 386.3 MB, free: 9.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.02132, allocations: 405.7 kB / 386.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02133, allocations: 0 / 386.7 MB, free: 9.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003845/0.02171, allocations: 393.7 kB / 387.1 MB, free: 9.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.02172, allocations: 4 kB / 387.1 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.02173, allocations: 8 kB / 387.1 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.02175, allocations: 11.94 kB / 387.1 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.02197, allocations: 96.52 kB / 387.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.02197, allocations: 15.98 kB / 387.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.02208, allocations: 16 kB / 387.2 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.02211, allocations: 20 kB / 387.3 MB, free: 8.922 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.02221, allocations: 184.4 kB / 387.4 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.02228, allocations: 55.64 kB / 387.5 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.02257, allocations: 264.6 kB / 387.8 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.02259, allocations: 23.92 kB / 387.8 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.02259, allocations: 0 / 387.8 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02259, allocations: 0 / 387.8 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007515/0.02334, allocations: 0.7065 MB / 388.5 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.02335, allocations: 0 / 388.5 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.02352, allocations: 63.91 kB / 388.6 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.02352, allocations: 7.938 kB / 388.6 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.02354, allocations: 8 kB / 388.6 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.02354, allocations: 0 / 388.6 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.02354, allocations: 4 kB / 388.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.024, allocations: 0.5042 MB / 389.1 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.02403, allocations: 31.8 kB / 389.1 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.02406, allocations: 19.86 kB / 389.1 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/0.02415, allocations: 8 kB / 389.1 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.02418, allocations: 27.95 kB / 389.2 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.0242, allocations: 15.94 kB / 389.2 MB, free: 6.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.841e-05/0.0243, allocations: 210.9 kB / 389.4 MB, free: 6.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0243, allocations: 0 / 389.4 MB, free: 6.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.0246, allocations: 104 kB / 389.5 MB, free: 6.594 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000197/0.02479, allocations: 147.1 kB / 389.6 MB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.02509, allocations: 242.8 kB / 389.9 MB, free: 6.203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02509, allocations: 0 / 389.9 MB, free: 6.203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.02519, allocations: 107.8 kB / 390 MB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.02551, allocations: 76.05 kB / 390 MB, free: 6.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.02695, allocations: 0.9159 MB / 391 MB, free: 5.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.995e-05/0.02705, allocations: 149.7 kB / 391.1 MB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.02718, allocations: 43.28 kB / 391.1 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.02733, allocations: 138.2 kB / 391.3 MB, free: 4.707 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.02733, allocations: 0 / 391.3 MB, free: 4.707 MB / 362.7 MB Notification: Performance of Templates: time 0.006498/0.03383, allocations: 4.106 MB / 395.4 MB, free: 0.6758 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.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.552318979986012]