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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 119.3 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 186.9 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 249.1 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1844/0.1844, allocations: 38.52 MB / 342.5 MB, free: 8.105 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.02 kB / 478.6 MB, free: 33.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1128, allocations: 61.24 MB / 0.5272 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007934/0.1207, allocations: 5.562 MB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.1234, allocations: 1.305 MB / 0.5339 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/0.1238, allocations: 19.88 kB / 0.5339 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.1243, allocations: 135.1 kB / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.1253, allocations: 378.2 kB / 0.5344 GB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.1257, allocations: 139.8 kB / 0.5346 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.1267, allocations: 0.7476 MB / 0.5353 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.127, allocations: 160.2 kB / 0.5354 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006525/0.1276, allocations: 338.6 kB / 0.5358 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007274/0.1284, allocations: 410.5 kB / 0.5362 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.637e-05/0.1285, allocations: 36 kB / 0.5362 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1286, allocations: 36 kB / 0.5362 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.1288, allocations: 195.4 kB / 0.5364 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.1291, allocations: 246.8 kB / 0.5366 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006613/0.1298, allocations: 0.529 MB / 0.5372 GB, free: 7.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1298, allocations: 0 / 0.5372 GB, free: 7.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1298, allocations: 0 / 0.5372 GB, free: 7.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.1298, allocations: 8 kB / 0.5372 GB, free: 7.176 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.001474/0.1313, allocations: 0.8159 MB / 0.538 GB, free: 6.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1313, allocations: 15.89 kB / 0.538 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.1314, allocations: 74.72 kB / 0.5381 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.604e-05/0.1315, allocations: 60.61 kB / 0.5381 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000914/0.1324, allocations: 496.5 kB / 0.5386 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.1325, allocations: 32.94 kB / 0.5386 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.1325, allocations: 36 kB / 0.5386 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007684/0.1333, allocations: 0.5039 MB / 0.5391 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1333, allocations: 0 / 0.5391 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.1334, allocations: 19.94 kB / 0.5392 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.1334, allocations: 17 kB / 0.5392 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/0.134, allocations: 371.6 kB / 0.5395 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.1367, allocations: 2.068 MB / 0.5415 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.1372, allocations: 221.3 kB / 0.5418 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.1374, allocations: 117.7 kB / 0.5419 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1374, allocations: 8 kB / 0.5419 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1375, allocations: 42.44 kB / 0.5419 GB, free: 1.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.1375, allocations: 0 / 0.5419 GB, free: 1.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001264/0.1387, allocations: 0.7757 MB / 0.5427 GB, free: 1.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.1388, allocations: 85.05 kB / 0.5428 GB, free: 1.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.1392, allocations: 381.7 kB / 0.5431 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1392, allocations: 33.7 kB / 0.5432 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.1394, allocations: 295.7 kB / 0.5434 GB, free: 368 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.1395, allocations: 91.25 kB / 0.5435 GB, free: 276 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.1396, allocations: 86.05 kB / 0.5436 GB, free: 184 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1398, allocations: 346.8 kB / 0.5439 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1399, allocations: 88.81 kB / 0.544 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.1403, allocations: 277.7 kB / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.1408, allocations: 411.5 kB / 0.5447 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1408, allocations: 4 kB / 0.5447 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007435/0.1415, allocations: 449.9 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1415, allocations: 8 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1415, allocations: 8 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.1417, allocations: 52.83 kB / 0.5452 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.142, allocations: 79.84 kB / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.1436, allocations: 1.618 MB / 0.5468 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.1438, allocations: 12.06 kB / 0.5468 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.1438, allocations: 28 kB / 0.5469 GB, free: 12.5 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.0002354/0.144, allocations: 197.7 kB / 0.5471 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.1441, allocations: 43.7 kB / 0.5471 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.1445, allocations: 248.2 kB / 0.5473 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1445, allocations: 0 / 0.5473 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1445, allocations: 4.188 kB / 0.5473 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1445, allocations: 0 / 0.5473 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.1456, allocations: 0.6877 MB / 0.548 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1456, allocations: 0 / 0.548 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.1458, allocations: 51.91 kB / 0.5481 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1458, allocations: 0 / 0.5481 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.1458, allocations: 8 kB / 0.5481 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1458, allocations: 0 / 0.5481 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1458, allocations: 4 kB / 0.5481 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.1464, allocations: 442.1 kB / 0.5485 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.1466, allocations: 124.8 kB / 0.5486 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.1466, allocations: 4 kB / 0.5486 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1468, allocations: 11.98 kB / 0.5486 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.1468, allocations: 16.05 kB / 0.5486 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1468, allocations: 8 kB / 0.5487 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002915/0.1471, allocations: 255.2 kB / 0.5489 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1471, allocations: 0 / 0.5489 GB, free: 10.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005115/0.1476, allocations: 95.94 kB / 0.549 GB, free: 10.21 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.0009453/0.1486, allocations: 0.9573 MB / 0.5499 GB, free: 9.215 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007421/0.1493, allocations: 387.1 kB / 0.5503 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1493, allocations: 0 / 0.5503 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.1495, allocations: 87.08 kB / 0.5504 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/0.1501, allocations: 102.3 kB / 0.5505 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.1552, allocations: 3.716 MB / 0.5541 GB, free: 4.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.1558, allocations: 0.8584 MB / 0.5549 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002601/0.156, allocations: 84.12 kB / 0.555 GB, free: 3.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.1562, allocations: 151.4 kB / 0.5552 GB, free: 3.535 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1562, allocations: 3.938 kB / 0.5552 GB, free: 3.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.1943, allocations: 7.689 MB / 0.5627 GB, free: 12.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.82, allocations: 5.469 kB / 0.5627 GB, free: 12.01 MB / 430.1 MB " [Timeout remaining time 649] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.699539970140904]