Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001675/0.001675, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002186/0.002186, allocations: 214.4 kB / 23.73 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1964/0.1964, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.002096/0.002096, allocations: 71.89 kB / 492.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3599, allocations: 62.45 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.007431/0.3673, allocations: 4.457 MB / 0.5463 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.3704, allocations: 1.497 MB / 0.5478 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.3707, allocations: 20.41 kB / 0.5478 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009827/0.3717, allocations: 291.8 kB / 0.548 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007256/0.3724, allocations: 273.7 kB / 0.5483 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.3733, allocations: 261.2 kB / 0.5486 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007844/0.3741, allocations: 0.6052 MB / 0.5492 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.3745, allocations: 226.1 kB / 0.5494 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005451/0.375, allocations: 281.6 kB / 0.5496 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005558/0.3756, allocations: 331.2 kB / 0.55 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.844e-05/0.3757, allocations: 33.81 kB / 0.55 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.3761, allocations: 157.5 kB / 0.5501 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.3763, allocations: 226.2 kB / 0.5503 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.3766, allocations: 205.8 kB / 0.5505 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008327/0.3774, allocations: 0.6057 MB / 0.5511 GB, free: 9.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3774, allocations: 1.156 kB / 0.5511 GB, free: 9.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.3774, allocations: 0 / 0.5511 GB, free: 9.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3774, allocations: 0 / 0.5511 GB, free: 9.484 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001556/0.379, allocations: 0.719 MB / 0.5518 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.379, allocations: 13.3 kB / 0.5519 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.3791, allocations: 83.72 kB / 0.5519 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008028/0.3799, allocations: 125.9 kB / 0.5521 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/0.3807, allocations: 353.7 kB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.3807, allocations: 28.7 kB / 0.5524 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.3809, allocations: 55.52 kB / 0.5525 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.382, allocations: 0.6613 MB / 0.5531 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.382, allocations: 14.08 kB / 0.5531 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.3821, allocations: 16.48 kB / 0.5531 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.3822, allocations: 51.28 kB / 0.5532 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008677/0.3831, allocations: 499.1 kB / 0.5537 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003885/0.387, allocations: 2.977 MB / 0.5566 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.3874, allocations: 237.3 kB / 0.5568 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3876, allocations: 113.7 kB / 0.5569 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.3877, allocations: 7.984 kB / 0.5569 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.3877, allocations: 38.5 kB / 0.557 GB, free: 4.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.804e-06/0.3877, allocations: 0 / 0.557 GB, free: 4.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001664/0.3894, allocations: 0.8257 MB / 0.5578 GB, free: 3.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/0.3895, allocations: 85.23 kB / 0.5578 GB, free: 3.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.3899, allocations: 340.3 kB / 0.5582 GB, free: 3.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.3899, allocations: 33.7 kB / 0.5582 GB, free: 3.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.3902, allocations: 303.8 kB / 0.5585 GB, free: 2.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.3902, allocations: 95.2 kB / 0.5586 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.3904, allocations: 86.08 kB / 0.5587 GB, free: 2.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3906, allocations: 350.7 kB / 0.559 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.3908, allocations: 128.8 kB / 0.5591 GB, free: 2.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.3912, allocations: 321.2 kB / 0.5594 GB, free: 1.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.3919, allocations: 0.5003 MB / 0.5599 GB, free: 1.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.3919, allocations: 0 / 0.5599 GB, free: 1.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001163/0.393, allocations: 0.5921 MB / 0.5605 GB, free: 0.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.3931, allocations: 8 kB / 0.5605 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006511/0.3937, allocations: 321.8 kB / 0.5608 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/0.3942, allocations: 118.2 kB / 0.5609 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.3945, allocations: 87.83 kB / 0.561 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/0.3977, allocations: 3.059 MB / 0.564 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.398, allocations: 20.12 kB / 0.564 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.398, allocations: 27.98 kB / 0.564 GB, free: 12.75 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003543/0.3984, allocations: 209.7 kB / 0.5642 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.3985, allocations: 31.77 kB / 0.5643 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.3991, allocations: 324.9 kB / 0.5646 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3991, allocations: 0 / 0.5646 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3991, allocations: 7.938 kB / 0.5646 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3991, allocations: 4 kB / 0.5646 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.4004, allocations: 0.7488 MB / 0.5653 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4004, allocations: 0 / 0.5653 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.4007, allocations: 63.98 kB / 0.5654 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.4007, allocations: 4 kB / 0.5654 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.4007, allocations: 15.97 kB / 0.5654 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4007, allocations: 3.938 kB / 0.5654 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.4007, allocations: 4 kB / 0.5654 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007035/0.4014, allocations: 0.507 MB / 0.5659 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.4016, allocations: 59.67 kB / 0.566 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.4016, allocations: 7.984 kB / 0.566 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4018, allocations: 8 kB / 0.566 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.4018, allocations: 19.83 kB / 0.566 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.4018, allocations: 11.98 kB / 0.566 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.4021, allocations: 223.1 kB / 0.5662 GB, free: 10.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4021, allocations: 0 / 0.5662 GB, free: 10.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005602/0.4027, allocations: 96 kB / 0.5663 GB, free: 10.33 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (27): * Single equations (assignments): 26 * 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.0011/0.4038, allocations: 1.058 MB / 0.5673 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.4048, allocations: 0.5589 MB / 0.5679 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4048, allocations: 0.5 kB / 0.5679 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.405, allocations: 123.9 kB / 0.568 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.4055, allocations: 69.33 kB / 0.5681 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/0.4113, allocations: 4.075 MB / 0.5721 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4116, allocations: 257.7 kB / 0.5723 GB, free: 3.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003189/0.4119, allocations: 115.1 kB / 0.5724 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.4121, allocations: 155.4 kB / 0.5726 GB, free: 3.555 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4121, allocations: 3.938 kB / 0.5726 GB, free: 3.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/0.4543, allocations: 8.364 MB / 0.5807 GB, free: 11.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.23, allocations: 21.91 kB / 0.5807 GB, free: 11.35 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.164586384780705]