Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.001826/0.001826, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002125/0.002125, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.1936/0.1936, allocations: 38.52 MB / 353.2 MB, free: 12.55 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.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",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.002049/0.002049, allocations: 67.89 kB / 493.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3263, allocations: 62.47 MB / 0.5428 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008788/0.3351, allocations: 6.724 MB / 0.5493 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004767/0.3399, allocations: 2.505 MB / 0.5518 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.3404, allocations: 34.09 kB / 0.5518 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.3421, allocations: 0.6272 MB / 0.5524 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.344, allocations: 0.6929 MB / 0.5531 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.3454, allocations: 458.1 kB / 0.5535 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.3475, allocations: 1.362 MB / 0.5549 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006796/0.3482, allocations: 412.9 kB / 0.5553 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.3493, allocations: 0.5914 MB / 0.5558 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.3509, allocations: 0.8574 MB / 0.5567 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.3511, allocations: 81.66 kB / 0.5568 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007609/0.3518, allocations: 316.5 kB / 0.5571 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006097/0.3524, allocations: 0.528 MB / 0.5576 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000644/0.3531, allocations: 0.5324 MB / 0.5581 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.3549, allocations: 1.342 MB / 0.5594 GB, free: 3.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3549, allocations: 3.938 kB / 0.5594 GB, free: 3.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3549, allocations: 0 / 0.5594 GB, free: 3.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.3549, allocations: 0 / 0.5594 GB, free: 3.438 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002622/0.3575, allocations: 1.279 MB / 0.5607 GB, free: 2.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.3576, allocations: 15.98 kB / 0.5607 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.289e-05/0.3576, allocations: 26.12 kB / 0.5607 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.3578, allocations: 156.3 kB / 0.5609 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.3592, allocations: 275.9 kB / 0.5611 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.3606, allocations: 0.6302 MB / 0.5617 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.819e-05/0.3607, allocations: 70.11 kB / 0.5618 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.3609, allocations: 95.92 kB / 0.5619 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.363, allocations: 1.384 MB / 0.5632 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.3631, allocations: 7.938 kB / 0.5632 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.3632, allocations: 35.98 kB / 0.5633 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002828/0.3634, allocations: 117.9 kB / 0.5634 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.3654, allocations: 1.097 MB / 0.5645 GB, free: 14.08 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00806/0.3734, allocations: 5.876 MB / 0.5702 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.3746, allocations: 0.5867 MB / 0.5708 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.375, allocations: 283.1 kB / 0.571 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/0.3751, allocations: 12.48 kB / 0.5711 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007489/0.3759, allocations: 480.7 kB / 0.5715 GB, free: 6.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.755e-06/0.3759, allocations: 0 / 0.5715 GB, free: 6.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003817/0.3797, allocations: 2.099 MB / 0.5736 GB, free: 4.363 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.3798, allocations: 170.9 kB / 0.5737 GB, free: 4.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00087/0.3807, allocations: 0.6367 MB / 0.5744 GB, free: 3.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.3807, allocations: 37.7 kB / 0.5744 GB, free: 3.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005224/0.3812, allocations: 0.5464 MB / 0.5749 GB, free: 2.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.3815, allocations: 249.9 kB / 0.5752 GB, free: 2.672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003095/0.3818, allocations: 206.8 kB / 0.5754 GB, free: 2.465 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.382, allocations: 390.7 kB / 0.5757 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.3826, allocations: 342.3 kB / 0.5761 GB, free: 1.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.3837, allocations: 0.7664 MB / 0.5768 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.3855, allocations: 1.25 MB / 0.578 GB, free: 15.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.3855, allocations: 8 kB / 0.578 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002696/0.3882, allocations: 1.433 MB / 0.5794 GB, free: 13.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.447e-05/0.3882, allocations: 41.69 kB / 0.5795 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001552/0.3898, allocations: 0.776 MB / 0.5802 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007797/0.3906, allocations: 257.8 kB / 0.5805 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.3913, allocations: 219.7 kB / 0.5807 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005156/0.3965, allocations: 4.168 MB / 0.5848 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008021/0.3973, allocations: 51.97 kB / 0.5848 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.3974, allocations: 68.05 kB / 0.5849 GB, free: 8.023 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006339/0.398, allocations: 406.9 kB / 0.5853 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.3981, allocations: 83.48 kB / 0.5853 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.3996, allocations: 0.85 MB / 0.5862 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.3996, allocations: 4 kB / 0.5862 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3996, allocations: 4 kB / 0.5862 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.3997, allocations: 3.984 kB / 0.5862 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.4027, allocations: 1.74 MB / 0.5879 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4027, allocations: 7.938 kB / 0.5879 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007379/0.4034, allocations: 147.8 kB / 0.588 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.4034, allocations: 8.156 kB / 0.588 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.4035, allocations: 19.98 kB / 0.5881 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.4035, allocations: 8 kB / 0.5881 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.4035, allocations: 7.938 kB / 0.5881 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.4054, allocations: 1.308 MB / 0.5893 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.4058, allocations: 127.5 kB / 0.5895 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/0.4059, allocations: 16 kB / 0.5895 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.4063, allocations: 31.97 kB / 0.5895 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.4064, allocations: 48.36 kB / 0.5896 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/0.4065, allocations: 47.89 kB / 0.5896 GB, free: 3.023 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005598/0.407, allocations: 423 kB / 0.59 GB, free: 2.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.407, allocations: 4 kB / 0.59 GB, free: 2.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009852/0.408, allocations: 232 kB / 0.5902 GB, free: 2.387 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.00239/0.4104, allocations: 1.872 MB / 0.5921 GB, free: 468 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002202/0.4126, allocations: 1.206 MB / 0.5932 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4126, allocations: 0 / 0.5932 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006493/0.4133, allocations: 414.1 kB / 0.5936 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009048/0.4142, allocations: 136.5 kB / 0.5938 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.4277, allocations: 8.095 MB / 0.6017 GB, free: 6.016 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.4287, allocations: 1.118 MB / 0.6028 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007355/0.4294, allocations: 290.4 kB / 0.603 GB, free: 4.582 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.4299, allocations: 331.3 kB / 0.6034 GB, free: 4.258 MB / 446.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4299, allocations: 0 / 0.6034 GB, free: 4.258 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05429/0.4842, allocations: 17.12 MB / 0.6201 GB, free: 3.316 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.38, allocations: 16.05 kB / 0.6201 GB, free: 3.305 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.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: 16.587474027008284]