Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008673/0.0008674, allocations: 95.94 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000905/0.000905, allocations: 181.6 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.2 MB / 241.1 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2707/0.2707, allocations: 38.07 MB / 330.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002881, allocations: 8 kB / 400 MB, free: 9.273 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3053, allocations: 59.16 MB / 459.1 MB, free: 30.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004031/0.3093, allocations: 4.229 MB / 463.4 MB, free: 27.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.3111, allocations: 1.093 MB / 464.4 MB, free: 26.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.3114, allocations: 26.06 kB / 464.5 MB, free: 26.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.3115, allocations: 55.94 kB / 464.5 MB, free: 26.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005881/0.3121, allocations: 210.5 kB / 464.7 MB, free: 26.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3124, allocations: 114.7 kB / 464.8 MB, free: 26.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.3128, allocations: 258.5 kB / 465.1 MB, free: 26.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.313, allocations: 97.69 kB / 465.2 MB, free: 26.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.3132, allocations: 164.5 kB / 465.4 MB, free: 26.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.3135, allocations: 168.2 kB / 465.5 MB, free: 25.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.3136, allocations: 12.53 kB / 465.5 MB, free: 25.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.3136, allocations: 20.72 kB / 465.6 MB, free: 25.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3138, allocations: 128.8 kB / 465.7 MB, free: 25.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.3138, allocations: 86.05 kB / 465.8 MB, free: 25.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.3141, allocations: 264 kB / 466 MB, free: 25.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.3141, allocations: 1.5 kB / 466 MB, free: 25.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3141, allocations: 0 / 466 MB, free: 25.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3142, allocations: 0 / 466 MB, free: 25.81 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008916/0.3151, allocations: 0.6143 MB / 466.6 MB, free: 25.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3151, allocations: 8.969 kB / 466.6 MB, free: 25.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.812e-05/0.3152, allocations: 38.89 kB / 466.7 MB, free: 25.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.3157, allocations: 355.8 kB / 467 MB, free: 25.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.3157, allocations: 18.62 kB / 467 MB, free: 25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.3158, allocations: 25.45 kB / 467.1 MB, free: 24.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.3163, allocations: 349.7 kB / 467.4 MB, free: 24.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3163, allocations: 0.875 kB / 467.4 MB, free: 24.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.3164, allocations: 10.88 kB / 467.4 MB, free: 24.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.3165, allocations: 26.11 kB / 467.5 MB, free: 24.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.3169, allocations: 235.9 kB / 467.7 MB, free: 24.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.3184, allocations: 1.374 MB / 469.1 MB, free: 23.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.3187, allocations: 163.2 kB / 469.2 MB, free: 23.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3187, allocations: 8.922 kB / 469.2 MB, free: 23.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3188, allocations: 37.8 kB / 469.3 MB, free: 23.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.764e-06/0.3188, allocations: 3.938 kB / 469.3 MB, free: 23.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001201/0.32, allocations: 0.7679 MB / 470 MB, free: 22.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.32, allocations: 84.77 kB / 470.1 MB, free: 22.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.3203, allocations: 303 kB / 470.4 MB, free: 22.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3203, allocations: 25.7 kB / 470.4 MB, free: 22.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.3204, allocations: 217.2 kB / 470.6 MB, free: 22.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3205, allocations: 50.94 kB / 470.7 MB, free: 22.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.3205, allocations: 5.156 kB / 470.7 MB, free: 22.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.3206, allocations: 338.5 kB / 471 MB, free: 22.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3207, allocations: 67.91 kB / 471.1 MB, free: 22.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.3208, allocations: 165 kB / 471.3 MB, free: 21.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.321, allocations: 95.89 kB / 471.4 MB, free: 21.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.321, allocations: 1.062 kB / 471.4 MB, free: 21.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004622/0.3215, allocations: 324.4 kB / 471.7 MB, free: 21.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3215, allocations: 6.469 kB / 471.7 MB, free: 21.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3215, allocations: 3.125 kB / 471.7 MB, free: 21.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.3217, allocations: 60.28 kB / 471.7 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.3219, allocations: 48.47 kB / 471.8 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.3229, allocations: 1.504 MB / 473.3 MB, free: 20.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.3231, allocations: 11.17 kB / 473.3 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.3231, allocations: 14.31 kB / 473.3 MB, free: 20.38 MB / 350.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.3233, allocations: 171.9 kB / 473.5 MB, free: 20.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.3234, allocations: 27.44 kB / 473.5 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.3238, allocations: 250.8 kB / 473.8 MB, free: 20.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3238, allocations: 1.812 kB / 473.8 MB, free: 20.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3238, allocations: 1.875 kB / 473.8 MB, free: 20.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3238, allocations: 1.312 kB / 473.8 MB, free: 20.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007674/0.3246, allocations: 0.6411 MB / 474.4 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3246, allocations: 1.156 kB / 474.4 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3247, allocations: 22.97 kB / 474.4 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.3249, allocations: 63.81 kB / 474.5 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.325, allocations: 4.312 kB / 474.5 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009321/0.3259, allocations: 1.498 MB / 476 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3259, allocations: 1.688 kB / 476 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.3264, allocations: 433.9 kB / 476.4 MB, free: 17.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.3265, allocations: 106.5 kB / 476.5 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.3265, allocations: 9.531 kB / 476.5 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3266, allocations: 12.22 kB / 476.5 MB, free: 17.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.3267, allocations: 9.953 kB / 476.6 MB, free: 17.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.3267, allocations: 4.875 kB / 476.6 MB, free: 17.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.3269, allocations: 216.5 kB / 476.8 MB, free: 17.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3269, allocations: 0 / 476.8 MB, free: 17.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.3273, allocations: 65.88 kB / 476.8 MB, free: 17.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001054/0.3274, allocations: 105.7 kB / 476.9 MB, free: 17.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004492/0.3279, allocations: 299.4 kB / 477.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3279, allocations: 0 / 477.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.3282, allocations: 208.6 kB / 477.4 MB, free: 17.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.3286, allocations: 57.77 kB / 477.5 MB, free: 17.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.3298, allocations: 0.884 MB / 478.4 MB, free: 16.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.33, allocations: 0.8143 MB / 479.2 MB, free: 16.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.3302, allocations: 49.42 kB / 479.2 MB, free: 16.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.3303, allocations: 22.66 kB / 479.3 MB, free: 16.04 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3303, allocations: 0 / 479.3 MB, free: 16.04 MB / 350.1 MB Notification: Performance of Templates: time 0.006604/0.3369, allocations: 2.731 MB / 482 MB, free: 15.02 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches