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.001352/0.001352, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001444/0.001444, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.1924/0.1924, allocations: 38.53 MB / 353.2 MB, free: 12.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="cs",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.00198/0.00198, allocations: 59.91 kB / 493.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3672, allocations: 62.45 MB / 0.5428 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.01168/0.3789, allocations: 5.68 MB / 0.5483 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004006/0.3829, allocations: 1.362 MB / 0.5496 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.3833, allocations: 25.84 kB / 0.5497 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006985/0.384, allocations: 136.5 kB / 0.5498 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.3854, allocations: 382.1 kB / 0.5502 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.386, allocations: 142.2 kB / 0.5503 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.3875, allocations: 0.751 MB / 0.551 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003769/0.3879, allocations: 135.7 kB / 0.5512 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009713/0.3888, allocations: 351.7 kB / 0.5515 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.3898, allocations: 395 kB / 0.5519 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.856e-05/0.3899, allocations: 36.59 kB / 0.5519 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3901, allocations: 40.94 kB / 0.5519 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003276/0.3904, allocations: 207.1 kB / 0.5521 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.3908, allocations: 249.7 kB / 0.5524 GB, free: 8.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009715/0.3918, allocations: 0.5317 MB / 0.5529 GB, free: 8.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3918, allocations: 1.125 kB / 0.5529 GB, free: 8.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3918, allocations: 0 / 0.5529 GB, free: 8.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.3918, allocations: 0 / 0.5529 GB, free: 8.57 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.002001/0.3938, allocations: 0.7381 MB / 0.5536 GB, free: 7.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.3939, allocations: 13.98 kB / 0.5536 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.772e-05/0.3939, allocations: 10.81 kB / 0.5536 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.394, allocations: 77.72 kB / 0.5537 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.3942, allocations: 57.97 kB / 0.5538 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3955, allocations: 426.6 kB / 0.5542 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.3955, allocations: 28.03 kB / 0.5542 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.9e-05/0.3956, allocations: 41.55 kB / 0.5542 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.3968, allocations: 0.4951 MB / 0.5547 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.3968, allocations: 8.906 kB / 0.5547 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.939e-05/0.3969, allocations: 15.59 kB / 0.5547 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/0.3969, allocations: 22.08 kB / 0.5548 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009448/0.3979, allocations: 364.4 kB / 0.5551 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004255/0.4021, allocations: 2.035 MB / 0.5571 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.4028, allocations: 230.2 kB / 0.5573 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.4031, allocations: 116.2 kB / 0.5574 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4032, allocations: 3.375 kB / 0.5574 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.4032, allocations: 31.84 kB / 0.5575 GB, free: 4.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.875e-06/0.4032, allocations: 0 / 0.5575 GB, free: 4.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001952/0.4052, allocations: 0.7025 MB / 0.5582 GB, free: 4.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.4052, allocations: 89.03 kB / 0.5582 GB, free: 4.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.4059, allocations: 373.6 kB / 0.5586 GB, free: 3.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.4059, allocations: 33.7 kB / 0.5586 GB, free: 3.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.4062, allocations: 291.8 kB / 0.5589 GB, free: 3.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.4064, allocations: 91.38 kB / 0.559 GB, free: 3.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.4065, allocations: 86.08 kB / 0.5591 GB, free: 3.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002487/0.4068, allocations: 350.7 kB / 0.5594 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.407, allocations: 88.83 kB / 0.5595 GB, free: 2.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.4075, allocations: 273.2 kB / 0.5598 GB, free: 2.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/0.4083, allocations: 403.3 kB / 0.5601 GB, free: 1.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.4083, allocations: 4 kB / 0.5601 GB, free: 1.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001226/0.4095, allocations: 456.2 kB / 0.5606 GB, free: 1.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.4095, allocations: 12.16 kB / 0.5606 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.4096, allocations: 8 kB / 0.5606 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/0.4099, allocations: 52.83 kB / 0.5606 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.4103, allocations: 87.77 kB / 0.5607 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.4126, allocations: 1.507 MB / 0.5622 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.4131, allocations: 23.98 kB / 0.5622 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.4131, allocations: 20 kB / 0.5622 GB, free: 15.71 MB / 414.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.0003973/0.4135, allocations: 197.7 kB / 0.5624 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.4136, allocations: 51.64 kB / 0.5625 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.4143, allocations: 237.1 kB / 0.5627 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4143, allocations: 4 kB / 0.5627 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.4143, allocations: 192 / 0.5627 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4143, allocations: 0 / 0.5627 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.4159, allocations: 0.6671 MB / 0.5634 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4159, allocations: 4.062 kB / 0.5634 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.4163, allocations: 51.91 kB / 0.5634 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.4163, allocations: 0 / 0.5634 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.4163, allocations: 4 kB / 0.5634 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.4163, allocations: 4 kB / 0.5634 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4163, allocations: 0 / 0.5634 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008273/0.4172, allocations: 437.4 kB / 0.5638 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.4173, allocations: 47.73 kB / 0.5639 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.4174, allocations: 8 kB / 0.5639 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.4177, allocations: 4 kB / 0.5639 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.4177, allocations: 15.97 kB / 0.5639 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.4177, allocations: 4 kB / 0.5639 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004511/0.4182, allocations: 267.1 kB / 0.5642 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4182, allocations: 4.062 kB / 0.5642 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009075/0.4191, allocations: 84 kB / 0.5643 GB, free: 13.56 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.00126/0.4203, allocations: 0.9606 MB / 0.5652 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.4214, allocations: 371.4 kB / 0.5655 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4214, allocations: 0.5 kB / 0.5655 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.4216, allocations: 87.84 kB / 0.5656 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009912/0.4226, allocations: 96.28 kB / 0.5657 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007407/0.43, allocations: 3.722 MB / 0.5694 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008092/0.4308, allocations: 0.8545 MB / 0.5702 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004253/0.4312, allocations: 92.12 kB / 0.5703 GB, free: 7.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.4315, allocations: 143.4 kB / 0.5704 GB, free: 6.898 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4315, allocations: 4 kB / 0.5704 GB, free: 6.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04498/0.4765, allocations: 8.007 MB / 0.5782 GB, free: 15.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.81, allocations: 3.984 kB / 0.5782 GB, free: 15.05 MB / 430.1 MB " [Timeout remaining time 647] (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.831035103998147]