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.00197/0.00197, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002571/0.002571, allocations: 210.6 kB / 23.72 MB, free: 4.391 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2216/0.2216, allocations: 38.56 MB / 352.5 MB, free: 12.32 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) [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.002138/0.002138, allocations: 67.89 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3619, allocations: 62.46 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008914/0.3708, allocations: 5.312 MB / 0.5471 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.3744, allocations: 1.27 MB / 0.5484 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.3748, allocations: 26.62 kB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005503/0.3753, allocations: 122.3 kB / 0.5485 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.3764, allocations: 386 kB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.3768, allocations: 130.2 kB / 0.549 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008555/0.3776, allocations: 0.7549 MB / 0.5497 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.3779, allocations: 129.2 kB / 0.5499 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006663/0.3785, allocations: 359.8 kB / 0.5502 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007028/0.3793, allocations: 382.2 kB / 0.5506 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.3793, allocations: 35.94 kB / 0.5506 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.3794, allocations: 36.72 kB / 0.5506 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.3797, allocations: 199.5 kB / 0.5508 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.3799, allocations: 210.4 kB / 0.551 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007189/0.3807, allocations: 0.5325 MB / 0.5515 GB, free: 9.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3807, allocations: 5.281 kB / 0.5515 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3807, allocations: 0 / 0.5515 GB, free: 9.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.3807, allocations: 0 / 0.5515 GB, free: 9.156 MB / 398.1 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.001391/0.3821, allocations: 0.7363 MB / 0.5523 GB, free: 8.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3821, allocations: 14.11 kB / 0.5523 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.3822, allocations: 80.72 kB / 0.5524 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.475e-05/0.3823, allocations: 58.75 kB / 0.5524 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008865/0.3832, allocations: 426 kB / 0.5528 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.3832, allocations: 33.47 kB / 0.5529 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.3833, allocations: 44.84 kB / 0.5529 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007835/0.3841, allocations: 0.4973 MB / 0.5534 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3841, allocations: 1.25 kB / 0.5534 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.3842, allocations: 16.44 kB / 0.5534 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.3842, allocations: 17.44 kB / 0.5534 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.3848, allocations: 366.5 kB / 0.5538 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.3876, allocations: 1.914 MB / 0.5556 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.3882, allocations: 227 kB / 0.5558 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.3884, allocations: 117.7 kB / 0.556 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3885, allocations: 0 / 0.556 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.3885, allocations: 38.56 kB / 0.556 GB, free: 5.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.3885, allocations: 4 kB / 0.556 GB, free: 5.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001501/0.39, allocations: 0.6953 MB / 0.5567 GB, free: 4.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/0.3901, allocations: 85.05 kB / 0.5568 GB, free: 4.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004638/0.3905, allocations: 385.5 kB / 0.5571 GB, free: 4.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3906, allocations: 29.7 kB / 0.5572 GB, free: 4.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.3908, allocations: 295.8 kB / 0.5574 GB, free: 4.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.3909, allocations: 91.25 kB / 0.5575 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.391, allocations: 78.08 kB / 0.5576 GB, free: 3.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3912, allocations: 358.9 kB / 0.5579 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.3914, allocations: 88.83 kB / 0.558 GB, free: 3.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.3917, allocations: 273.2 kB / 0.5583 GB, free: 3.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.3922, allocations: 407.3 kB / 0.5587 GB, free: 2.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3922, allocations: 4 kB / 0.5587 GB, free: 2.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007495/0.3929, allocations: 448.3 kB / 0.5591 GB, free: 2.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3929, allocations: 8 kB / 0.5591 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.393, allocations: 12.09 kB / 0.5591 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.3932, allocations: 52.83 kB / 0.5592 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.3934, allocations: 83.83 kB / 0.5593 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.3951, allocations: 1.507 MB / 0.5607 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.3953, allocations: 15.95 kB / 0.5607 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.3954, allocations: 20 kB / 0.5608 GB, free: 348 kB / 398.1 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.0002975/0.3957, allocations: 209.7 kB / 0.561 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.3957, allocations: 39.7 kB / 0.561 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.3962, allocations: 237.2 kB / 0.5612 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3962, allocations: 4 kB / 0.5612 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.3962, allocations: 0 / 0.5612 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.3962, allocations: 4 kB / 0.5612 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.3972, allocations: 0.6476 MB / 0.5619 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3972, allocations: 4 kB / 0.5619 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.3974, allocations: 51.97 kB / 0.5619 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3974, allocations: 0 / 0.5619 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3974, allocations: 8 kB / 0.5619 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3974, allocations: 3.938 kB / 0.5619 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3974, allocations: 0 / 0.5619 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.398, allocations: 429.5 kB / 0.5623 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3981, allocations: 43.78 kB / 0.5624 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.3981, allocations: 11.98 kB / 0.5624 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3983, allocations: 8 kB / 0.5624 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.3983, allocations: 15.97 kB / 0.5624 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3983, allocations: 12 kB / 0.5624 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.3986, allocations: 255.2 kB / 0.5627 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3986, allocations: 0 / 0.5627 GB, free: 14.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004622/0.399, allocations: 95.94 kB / 0.5628 GB, free: 14.2 MB / 414.1 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 0.0008495/0.3999, allocations: 0.9566 MB / 0.5637 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006857/0.4006, allocations: 370.8 kB / 0.5641 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4006, allocations: 0 / 0.5641 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.4007, allocations: 91.02 kB / 0.5641 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006352/0.4014, allocations: 103.7 kB / 0.5642 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/0.4063, allocations: 3.717 MB / 0.5679 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.4066, allocations: 254 kB / 0.5681 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.4069, allocations: 84.12 kB / 0.5682 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.4071, allocations: 147.4 kB / 0.5683 GB, free: 8.16 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4071, allocations: 4 kB / 0.5683 GB, free: 8.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04052/0.4476, allocations: 8.405 MB / 0.5765 GB, free: 15.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.15, allocations: 0 / 0.5765 GB, free: 15.95 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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: 15.14981069182977]