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) 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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 114.2 kB / 17.07 MB, free: 5.988 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.001269/0.001269, allocations: 193.4 kB / 18 MB, free: 5.074 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.451/1.451, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1817/0.1817, allocations: 38.05 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 457.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2982, allocations: 58.05 MB / 0.5036 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006132/0.3044, allocations: 5.503 MB / 0.509 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3066, allocations: 1.301 MB / 0.5103 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.307, allocations: 19.34 kB / 0.5103 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.3075, allocations: 133.4 kB / 0.5104 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.3086, allocations: 371.5 kB / 0.5108 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.309, allocations: 137.2 kB / 0.5109 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008422/0.3098, allocations: 0.7451 MB / 0.5116 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.3101, allocations: 214.8 kB / 0.5118 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004848/0.3106, allocations: 332.2 kB / 0.5121 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005721/0.3112, allocations: 383.6 kB / 0.5125 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.3112, allocations: 36.53 kB / 0.5125 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3114, allocations: 40.88 kB / 0.5126 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.3116, allocations: 192.8 kB / 0.5128 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.3118, allocations: 251.5 kB / 0.513 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.3125, allocations: 0.5271 MB / 0.5135 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3125, allocations: 0.5156 kB / 0.5135 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3125, allocations: 0 / 0.5135 GB, free: 1.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3125, allocations: 3.938 kB / 0.5135 GB, free: 1.18 MB / 382.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.001377/0.3139, allocations: 0.8174 MB / 0.5143 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.314, allocations: 13.55 kB / 0.5143 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.679e-05/0.3141, allocations: 80.22 kB / 0.5144 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.797e-05/0.3142, allocations: 56.98 kB / 0.5145 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008144/0.315, allocations: 0.4931 MB / 0.5149 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.315, allocations: 29.06 kB / 0.515 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.477e-05/0.3151, allocations: 36.72 kB / 0.515 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.316, allocations: 0.5002 MB / 0.5155 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.3161, allocations: 0.7031 kB / 0.5155 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.3161, allocations: 16.41 kB / 0.5155 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.3162, allocations: 19.58 kB / 0.5155 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000705/0.3169, allocations: 370.6 kB / 0.5159 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/0.3201, allocations: 2.068 MB / 0.5179 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.3207, allocations: 244.6 kB / 0.5181 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.3209, allocations: 126.3 kB / 0.5183 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.321, allocations: 3.016 kB / 0.5183 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.321, allocations: 36.39 kB / 0.5183 GB, free: 13.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.994e-06/0.321, allocations: 5.094 kB / 0.5183 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001502/0.3225, allocations: 0.7751 MB / 0.5191 GB, free: 13.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.3226, allocations: 87.36 kB / 0.5191 GB, free: 13.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.3231, allocations: 380 kB / 0.5195 GB, free: 13.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.3231, allocations: 26.64 kB / 0.5195 GB, free: 13.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.3234, allocations: 293.6 kB / 0.5198 GB, free: 12.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.694e-05/0.3235, allocations: 86.16 kB / 0.5199 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.3236, allocations: 91.09 kB / 0.52 GB, free: 12.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3238, allocations: 347.8 kB / 0.5203 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.3239, allocations: 85.38 kB / 0.5204 GB, free: 12.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.3242, allocations: 273.8 kB / 0.5207 GB, free: 12.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.3247, allocations: 408.5 kB / 0.521 GB, free: 11.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3247, allocations: 2.156 kB / 0.521 GB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007389/0.3255, allocations: 450.6 kB / 0.5215 GB, free: 11.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3255, allocations: 8 kB / 0.5215 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3255, allocations: 10.88 kB / 0.5215 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.3257, allocations: 51.92 kB / 0.5215 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.326, allocations: 85.28 kB / 0.5216 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.3276, allocations: 1.618 MB / 0.5232 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.3278, allocations: 18.97 kB / 0.5232 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.3278, allocations: 18.03 kB / 0.5232 GB, free: 9.949 MB / 398.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.0002723/0.3281, allocations: 207.1 kB / 0.5234 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.3282, allocations: 45.92 kB / 0.5235 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.3286, allocations: 244.3 kB / 0.5237 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3286, allocations: 4.031 kB / 0.5237 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3286, allocations: 1 kB / 0.5237 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3286, allocations: 1.547 kB / 0.5237 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3296, allocations: 0.6865 MB / 0.5244 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3297, allocations: 6.516 kB / 0.5244 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.3299, allocations: 42.27 kB / 0.5244 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3299, allocations: 2.75 kB / 0.5244 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.3299, allocations: 6.75 kB / 0.5244 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3299, allocations: 2.125 kB / 0.5244 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3299, allocations: 5.312 kB / 0.5245 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.3305, allocations: 429.8 kB / 0.5249 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3306, allocations: 134.1 kB / 0.525 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.3307, allocations: 1.375 kB / 0.525 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3308, allocations: 9 kB / 0.525 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.3308, allocations: 16.83 kB / 0.525 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3309, allocations: 9.5 kB / 0.525 GB, free: 8.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.3311, allocations: 258.9 kB / 0.5253 GB, free: 8.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3311, allocations: 4.062 kB / 0.5253 GB, free: 8.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004699/0.3316, allocations: 94.12 kB / 0.5254 GB, free: 8.605 MB / 398.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.0008187/0.3324, allocations: 0.9566 MB / 0.5263 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006658/0.3331, allocations: 390.1 kB / 0.5267 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3331, allocations: 0.5 kB / 0.5267 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.3333, allocations: 99.61 kB / 0.5268 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.3339, allocations: 91.34 kB / 0.5269 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.3386, allocations: 3.721 MB / 0.5305 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.3392, allocations: 0.8571 MB / 0.5313 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.3395, allocations: 83.91 kB / 0.5314 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.3397, allocations: 148.4 kB / 0.5315 GB, free: 4.125 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3397, allocations: 0 / 0.5315 GB, free: 4.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0358/0.3755, allocations: 7.639 MB / 0.539 GB, free: 1.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.15, allocations: 6.641 kB / 0.539 GB, free: 1.32 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches