Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001022/0.001022, 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.0009783/0.0009783, 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.9713/0.9713, allocations: 177.1 MB / 205 MB, free: 5.641 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.2236/0.2236, allocations: 29.41 MB / 290.9 MB, free: 2.465 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.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.697e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.004411/0.004428, allocations: 4.751 MB / 374.4 MB, free: 6.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.006186, allocations: 1.317 MB / 375.7 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.006426, allocations: 27.75 kB / 375.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.006862, allocations: 119.1 kB / 375.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007097/0.007571, allocations: 382 kB / 376.2 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.007834, allocations: 139.7 kB / 376.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005383/0.008372, allocations: 0.7708 MB / 377.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.008581, allocations: 128.7 kB / 377.2 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004456/0.009027, allocations: 446.8 kB / 377.7 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.009415, allocations: 363 kB / 378 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.009463, allocations: 36 kB / 378.1 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.009521, allocations: 40 kB / 378.1 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.009668, allocations: 207.4 kB / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.009819, allocations: 171.6 kB / 378.5 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.01018, allocations: 386.5 kB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01018, allocations: 0 / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01018, allocations: 0 / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.01019, allocations: 0 / 378.9 MB, free: 1.723 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00083/0.01102, allocations: 0.8483 MB / 379.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.01106, allocations: 11.98 kB / 379.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.077e-05/0.01115, allocations: 84.61 kB / 379.8 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.01163, allocations: 443.5 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.01166, allocations: 29.38 kB / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.01171, allocations: 40.38 kB / 380.3 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.01212, allocations: 389.5 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.01213, allocations: 0 / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.01215, allocations: 16 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.01219, allocations: 17 kB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.01243, allocations: 177.7 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.01392, allocations: 2.118 MB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.01416, allocations: 170.3 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.01429, allocations: 91.33 kB / 383.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.01431, allocations: 4 kB / 383.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.01433, allocations: 37.39 kB / 383.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.01433, allocations: 0 / 383.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007463/0.01508, allocations: 0.5693 MB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.01512, allocations: 85.05 kB / 384 MB, free: 12.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.01538, allocations: 422.5 kB / 384.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.01539, allocations: 33.83 kB / 384.4 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.01554, allocations: 346.8 kB / 384.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.01559, allocations: 91.25 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.01566, allocations: 79.81 kB / 384.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.01579, allocations: 0.5312 MB / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.01585, allocations: 44.91 kB / 385.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.01603, allocations: 319.8 kB / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.01631, allocations: 401.2 kB / 386.2 MB, free: 9.773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01631, allocations: 4 kB / 386.2 MB, free: 9.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004107/0.01672, allocations: 388.7 kB / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.01674, allocations: 11.98 kB / 386.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.01675, allocations: 8 kB / 386.6 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.0169, allocations: 43.67 kB / 386.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.01704, allocations: 87.83 kB / 386.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009602/0.018, allocations: 1.878 MB / 388.6 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.01811, allocations: 19.94 kB / 388.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.01813, allocations: 20 kB / 388.6 MB, free: 7.188 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.01824, allocations: 188.4 kB / 388.8 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.01828, allocations: 47.72 kB / 388.9 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.01847, allocations: 184 kB / 389 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01847, allocations: 8.031 kB / 389 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.01848, allocations: 0 / 389 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01848, allocations: 3.984 kB / 389.1 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.01899, allocations: 0.5937 MB / 389.6 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01899, allocations: 0 / 389.6 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.01911, allocations: 51.91 kB / 389.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01911, allocations: 0 / 389.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01912, allocations: 8 kB / 389.7 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01913, allocations: 4.188 kB / 389.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01913, allocations: 8 kB / 389.7 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.01939, allocations: 391.2 kB / 390.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.01944, allocations: 43.7 kB / 390.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.01946, allocations: 11.98 kB / 390.2 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.01953, allocations: 8 kB / 390.2 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.01955, allocations: 15.91 kB / 390.2 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01956, allocations: 12 kB / 390.2 MB, free: 5.531 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.01971, allocations: 255.1 kB / 390.4 MB, free: 5.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01971, allocations: 0 / 390.4 MB, free: 5.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002659/0.01998, allocations: 88 kB / 390.5 MB, free: 5.199 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * 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 6.99e-05/0.02005, allocations: 103.2 kB / 390.6 MB, free: 5.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.02043, allocations: 384.7 kB / 391 MB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.02044, allocations: 0 / 391 MB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.02051, allocations: 83.53 kB / 391.1 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.02086, allocations: 88.3 kB / 391.2 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.02203, allocations: 0.7868 MB / 392 MB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.616e-05/0.02211, allocations: 141.2 kB / 392.1 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.02225, allocations: 68.12 kB / 392.2 MB, free: 3.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.02229, allocations: 32.5 kB / 392.2 MB, free: 3.434 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02229, allocations: 0 / 392.2 MB, free: 3.434 MB / 362.7 MB Notification: Performance of Templates: time 0.005544/0.02784, allocations: 3.629 MB / 395.8 MB, free: 15.9 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.2119644479826093]