Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001415/0.001415, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.001509/0.001509, allocations: 212.5 kB / 24.51 MB, free: 3.941 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.1878/0.1878, allocations: 38.55 MB / 353.2 MB, free: 12.28 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.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",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.001989/0.001989, allocations: 59.91 kB / 493.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3058, allocations: 62.46 MB / 0.5427 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006458/0.3123, allocations: 4.592 MB / 0.5472 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.3146, allocations: 1.282 MB / 0.5484 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.3148, allocations: 20.66 kB / 0.5485 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.316, allocations: 395 kB / 0.5488 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.3165, allocations: 245.4 kB / 0.5491 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.317, allocations: 177.9 kB / 0.5492 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005977/0.3176, allocations: 0.546 MB / 0.5498 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004262/0.318, allocations: 273.3 kB / 0.55 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.3185, allocations: 276.3 kB / 0.5503 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004064/0.3189, allocations: 285.2 kB / 0.5506 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.3189, allocations: 32.53 kB / 0.5506 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.3192, allocations: 132.4 kB / 0.5507 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.3194, allocations: 185.8 kB / 0.5509 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.3197, allocations: 191.5 kB / 0.5511 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.3203, allocations: 0.5303 MB / 0.5516 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3204, allocations: 1.469 kB / 0.5516 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3204, allocations: 0 / 0.5516 GB, free: 9.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.3204, allocations: 0 / 0.5516 GB, free: 9.652 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001219/0.3216, allocations: 0.6555 MB / 0.5522 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3216, allocations: 14.14 kB / 0.5523 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.774e-05/0.3217, allocations: 9.656 kB / 0.5523 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.366e-05/0.3217, allocations: 81.31 kB / 0.5523 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007019/0.3224, allocations: 88.09 kB / 0.5524 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007037/0.3232, allocations: 357.9 kB / 0.5528 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.3232, allocations: 30.84 kB / 0.5528 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.3233, allocations: 47.8 kB / 0.5528 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007868/0.3241, allocations: 475.5 kB / 0.5533 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3241, allocations: 1.062 kB / 0.5533 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.3242, allocations: 19.38 kB / 0.5533 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.3243, allocations: 25.2 kB / 0.5533 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.3249, allocations: 341.2 kB / 0.5537 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.3271, allocations: 1.487 MB / 0.5551 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.3275, allocations: 161.5 kB / 0.5553 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.3277, allocations: 109.4 kB / 0.5554 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3277, allocations: 10.34 kB / 0.5554 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.3277, allocations: 36.97 kB / 0.5554 GB, free: 6.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.3277, allocations: 0 / 0.5554 GB, free: 6.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001363/0.3291, allocations: 0.7177 MB / 0.5561 GB, free: 6.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.3291, allocations: 80.05 kB / 0.5562 GB, free: 6.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.3295, allocations: 310.2 kB / 0.5565 GB, free: 5.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.3295, allocations: 25.7 kB / 0.5565 GB, free: 5.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.3297, allocations: 256.1 kB / 0.5568 GB, free: 5.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.3297, allocations: 79.31 kB / 0.5568 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3298, allocations: 65.78 kB / 0.5569 GB, free: 5.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.33, allocations: 342.8 kB / 0.5572 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.3302, allocations: 99.94 kB / 0.5573 GB, free: 5.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.3304, allocations: 192.8 kB / 0.5575 GB, free: 4.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.3309, allocations: 331.2 kB / 0.5578 GB, free: 4.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.3309, allocations: 4 kB / 0.5578 GB, free: 4.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008625/0.3317, allocations: 425.8 kB / 0.5582 GB, free: 3.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3317, allocations: 4 kB / 0.5582 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005397/0.3323, allocations: 270.5 kB / 0.5585 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/0.3326, allocations: 76.78 kB / 0.5586 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.3329, allocations: 64.28 kB / 0.5586 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.3346, allocations: 1.604 MB / 0.5602 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.3348, allocations: 15.98 kB / 0.5602 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3348, allocations: 8 kB / 0.5602 GB, free: 1.812 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.3351, allocations: 189.7 kB / 0.5604 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.3352, allocations: 39.88 kB / 0.5604 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.3356, allocations: 274.7 kB / 0.5607 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3356, allocations: 7.938 kB / 0.5607 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3356, allocations: 0 / 0.5607 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3356, allocations: 7.938 kB / 0.5607 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.3368, allocations: 0.6904 MB / 0.5614 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3368, allocations: 0 / 0.5614 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.3371, allocations: 59.97 kB / 0.5614 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3371, allocations: 7.938 kB / 0.5615 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3371, allocations: 8 kB / 0.5615 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3371, allocations: 0 / 0.5615 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3371, allocations: 0 / 0.5615 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.3377, allocations: 464.7 kB / 0.5619 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.3378, allocations: 27.75 kB / 0.5619 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.3378, allocations: 11.94 kB / 0.5619 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.338, allocations: 7.984 kB / 0.5619 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.3381, allocations: 15.97 kB / 0.562 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3381, allocations: 12 kB / 0.562 GB, free: 15.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.3383, allocations: 215.1 kB / 0.5622 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3383, allocations: 0 / 0.5622 GB, free: 15.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.3387, allocations: 88 kB / 0.5623 GB, free: 15.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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.0008988/0.3396, allocations: 0.9832 MB / 0.5632 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006688/0.3403, allocations: 371 kB / 0.5636 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3403, allocations: 0 / 0.5636 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.3404, allocations: 95.83 kB / 0.5637 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.3409, allocations: 68.05 kB / 0.5637 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/0.3458, allocations: 3.542 MB / 0.5672 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.3461, allocations: 253.2 kB / 0.5674 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.3463, allocations: 66.91 kB / 0.5675 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.3465, allocations: 139.4 kB / 0.5676 GB, free: 9.875 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3465, allocations: 0 / 0.5676 GB, free: 9.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04601/0.3925, allocations: 7.69 MB / 0.5751 GB, free: 2.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.55, allocations: 8.062 kB / 0.5751 GB, free: 2.352 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.577505999011919]