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.001014/0.001014, allocations: 71.75 kB / 21.69 MB, free: 2.84 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.001047/0.001047, allocations: 164.8 kB / 24.99 MB, free: 8.293 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.091/1.091, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2356/0.2356, allocations: 29.41 MB / 291.2 MB, free: 2.496 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.873e-06/1.873e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.613e-05, allocations: 2.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.00482/0.004846, allocations: 5.604 MB / 375.2 MB, free: 5.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.006614, allocations: 1.305 MB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.006866, allocations: 19.81 kB / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.007313, allocations: 142.9 kB / 376.7 MB, free: 4.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007/0.008013, allocations: 389.9 kB / 377.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.008262, allocations: 139.7 kB / 377.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005646/0.008827, allocations: 0.7668 MB / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.009034, allocations: 132.6 kB / 378.1 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005676/0.009602, allocations: 462.5 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.01005, allocations: 363 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.0101, allocations: 36 kB / 378.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.639e-05/0.01015, allocations: 40 kB / 379 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.0103, allocations: 207.4 kB / 379.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.01045, allocations: 167.6 kB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.01085, allocations: 386.5 kB / 379.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.01086, allocations: 0 / 379.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.01086, allocations: 8 kB / 379.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.01087, allocations: 3.984 kB / 379.7 MB, free: 1.16 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.0009433/0.01181, allocations: 0.8367 MB / 380.6 MB, free: 296 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.01186, allocations: 11.98 kB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.01196, allocations: 84.61 kB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.01254, allocations: 443.6 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.01256, allocations: 25.38 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.01261, allocations: 40.38 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.01303, allocations: 389.5 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.01304, allocations: 3.938 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.01307, allocations: 16 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.01312, allocations: 24.98 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.01336, allocations: 177.7 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.01503, allocations: 2.122 MB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.01532, allocations: 177.8 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.01547, allocations: 87.39 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.01549, allocations: 4 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.01552, allocations: 37.39 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.104e-06/0.01552, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008547/0.01637, allocations: 0.5773 MB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.01642, allocations: 77.11 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.01673, allocations: 422.5 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.01675, allocations: 29.7 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.01698, allocations: 346.8 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.01703, allocations: 83.33 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.01711, allocations: 87.8 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.01723, allocations: 0.5235 MB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.0173, allocations: 53.09 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.01747, allocations: 315.8 kB / 386.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.01774, allocations: 405.2 kB / 387.1 MB, free: 9.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01774, allocations: 0 / 387.1 MB, free: 9.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004198/0.01816, allocations: 384.1 kB / 387.4 MB, free: 8.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.01818, allocations: 8.875 kB / 387.4 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01819, allocations: 4 kB / 387.4 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.01836, allocations: 59.59 kB / 387.5 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.01851, allocations: 79.91 kB / 387.6 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009945/0.01951, allocations: 1.873 MB / 389.4 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01963, allocations: 23.94 kB / 389.5 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.01965, allocations: 27.92 kB / 389.5 MB, free: 6.629 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.000134/0.01979, allocations: 188.4 kB / 389.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.01983, allocations: 51.72 kB / 389.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.02004, allocations: 172 kB / 389.9 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.02004, allocations: 4 kB / 389.9 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.02004, allocations: 4.172 kB / 389.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.02005, allocations: 0 / 389.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.02059, allocations: 0.609 MB / 390.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.0206, allocations: 64 / 390.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.02073, allocations: 47.97 kB / 390.6 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.02073, allocations: 4 kB / 390.6 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.02074, allocations: 7.938 kB / 390.6 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.02075, allocations: 4 kB / 390.6 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.02075, allocations: 3.938 kB / 390.6 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.02102, allocations: 391.2 kB / 391 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.02108, allocations: 47.7 kB / 391 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.0211, allocations: 4 kB / 391 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.02117, allocations: 4 kB / 391 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.0212, allocations: 31.88 kB / 391.1 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.02121, allocations: 4 kB / 391.1 MB, free: 4.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.02135, allocations: 255.1 kB / 391.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02135, allocations: 0 / 391.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000285/0.02163, allocations: 92 kB / 391.4 MB, free: 4.637 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 9.271e-05/0.02173, allocations: 99.25 kB / 391.5 MB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.02214, allocations: 378.7 kB / 391.9 MB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.02215, allocations: 7.938 kB / 391.9 MB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.02222, allocations: 72.14 kB / 391.9 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.02261, allocations: 104.9 kB / 392 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.02398, allocations: 0.7828 MB / 392.8 MB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.32e-05/0.02407, allocations: 137.2 kB / 393 MB, free: 2.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.02421, allocations: 76.11 kB / 393 MB, free: 2.906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.02426, allocations: 36.5 kB / 393.1 MB, free: 2.871 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02426, allocations: 0 / 393.1 MB, free: 2.871 MB / 362.7 MB Notification: Performance of Templates: time 0.006275/0.03054, allocations: 3.611 MB / 396.7 MB, free: 15.35 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.336344894953072]