Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.00141/0.00141, 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.00142/0.00142, allocations: 216.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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.1893/0.1893, 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.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid",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.002037/0.002037, allocations: 63.91 kB / 493.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3147, allocations: 62.47 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.009272/0.324, allocations: 6.682 MB / 0.5493 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.3275, allocations: 1.947 MB / 0.5512 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.3278, allocations: 37.91 kB / 0.5512 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.3291, allocations: 460.2 kB / 0.5517 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008299/0.3299, allocations: 422.3 kB / 0.5521 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008953/0.3308, allocations: 356.5 kB / 0.5524 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.332, allocations: 1.036 MB / 0.5534 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006333/0.3326, allocations: 420.6 kB / 0.5538 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007247/0.3334, allocations: 483.4 kB / 0.5543 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009224/0.3343, allocations: 0.6087 MB / 0.5549 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.3344, allocations: 66.53 kB / 0.5549 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005435/0.3349, allocations: 284.1 kB / 0.5552 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.3353, allocations: 380.9 kB / 0.5556 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004819/0.3358, allocations: 426.1 kB / 0.556 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.3372, allocations: 1.051 MB / 0.557 GB, free: 5.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3373, allocations: 0 / 0.557 GB, free: 5.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3373, allocations: 0 / 0.557 GB, free: 5.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.3373, allocations: 0 / 0.557 GB, free: 5.844 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002674/0.3399, allocations: 1.076 MB / 0.5581 GB, free: 4.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.34, allocations: 15.98 kB / 0.5581 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.567e-05/0.34, allocations: 17.5 kB / 0.5581 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.3402, allocations: 118.8 kB / 0.5582 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009563/0.3411, allocations: 168.2 kB / 0.5584 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.3423, allocations: 0.5478 MB / 0.5589 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.3424, allocations: 61.31 kB / 0.559 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.3425, allocations: 67.98 kB / 0.559 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.3441, allocations: 1.01 MB / 0.56 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3441, allocations: 4 kB / 0.56 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.281e-05/0.3442, allocations: 24 kB / 0.56 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/0.3444, allocations: 69.95 kB / 0.5601 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.3461, allocations: 0.9758 MB / 0.5611 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005587/0.3517, allocations: 3.188 MB / 0.5642 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.3529, allocations: 0.6253 MB / 0.5648 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006296/0.3536, allocations: 387.3 kB / 0.5651 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.3536, allocations: 16.47 kB / 0.5652 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.3537, allocations: 43 kB / 0.5652 GB, free: 13.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 3.747e-06/0.3537, allocations: 0 / 0.5652 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.004163/0.3578, allocations: 2.223 MB / 0.5674 GB, free: 10.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.3579, allocations: 81.89 kB / 0.5675 GB, free: 10.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.3584, allocations: 453.7 kB / 0.5679 GB, free: 10.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.3585, allocations: 33.7 kB / 0.5679 GB, free: 10.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.3587, allocations: 372.4 kB / 0.5683 GB, free: 10.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.359, allocations: 265.7 kB / 0.5685 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.3592, allocations: 150.6 kB / 0.5687 GB, free: 9.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.3594, allocations: 374.7 kB / 0.569 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/0.36, allocations: 345.8 kB / 0.5694 GB, free: 8.906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/0.3607, allocations: 0.5224 MB / 0.5699 GB, free: 8.312 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.005291/0.3659, allocations: 2.162 MB / 0.572 GB, free: 6.078 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.366, allocations: 4 kB / 0.572 GB, free: 6.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001825/0.3678, allocations: 1.027 MB / 0.573 GB, free: 5.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3678, allocations: 4 kB / 0.573 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.3678, allocations: 8 kB / 0.573 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.368, allocations: 41.2 kB / 0.573 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008111/0.3688, allocations: 191.7 kB / 0.5732 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.3702, allocations: 1.4 MB / 0.5746 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.3707, allocations: 31.98 kB / 0.5746 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.3708, allocations: 31.98 kB / 0.5746 GB, free: 3.215 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (95): * Single equations (assignments): 92 * Array equations: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004511/0.3712, allocations: 284.4 kB / 0.5749 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.3714, allocations: 63.58 kB / 0.575 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.373, allocations: 0.8992 MB / 0.5759 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/0.373, allocations: 16 kB / 0.5759 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.373, allocations: 3.938 kB / 0.5759 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.373, allocations: 3.984 kB / 0.5759 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.3765, allocations: 1.907 MB / 0.5777 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.3766, allocations: 11.88 kB / 0.5778 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.3772, allocations: 151.8 kB / 0.5779 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.3773, allocations: 36.78 kB / 0.5779 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.3774, allocations: 31.97 kB / 0.578 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.3786, allocations: 1.393 MB / 0.5793 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.3786, allocations: 7.984 kB / 0.5793 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.3811, allocations: 1.454 MB / 0.5808 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.3813, allocations: 67.52 kB / 0.5808 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.3814, allocations: 20.06 kB / 0.5808 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.382, allocations: 31.97 kB / 0.5809 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.3821, allocations: 64.28 kB / 0.5809 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/0.3822, allocations: 27.98 kB / 0.581 GB, free: 12.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005117/0.3827, allocations: 303.1 kB / 0.5812 GB, free: 12.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3827, allocations: 0 / 0.5812 GB, free: 12.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001125/0.3839, allocations: 183.9 kB / 0.5814 GB, free: 11.96 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * 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 (75): * Single equations (assignments): 71 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003574/0.3874, allocations: 2.042 MB / 0.5834 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.3896, allocations: 0.9235 MB / 0.5843 GB, free: 8.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3896, allocations: 0 / 0.5843 GB, free: 8.895 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007505/0.3903, allocations: 497.8 kB / 0.5848 GB, free: 8.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/0.3912, allocations: 157.4 kB / 0.5849 GB, free: 8.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.4034, allocations: 6.924 MB / 0.5917 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.4045, allocations: 1.016 MB / 0.5927 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008751/0.4053, allocations: 205.4 kB / 0.5929 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/0.4059, allocations: 275.3 kB / 0.5931 GB, free: 15.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4059, allocations: 0 / 0.5931 GB, free: 15.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04988/0.4558, allocations: 15.48 MB / 0.6083 GB, free: 148 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.45, allocations: 4.5 kB / 0.6083 GB, free: 148 kB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.374795799027197]