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.001406/0.001413, allocations: 112.6 kB / 17.06 MB, free: 5.965 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.001515/0.001515, allocations: 200 kB / 18.01 MB, free: 5.047 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.535/1.535, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1839/0.1839, allocations: 38.04 MB / 329.9 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 67.89 kB / 457.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3051, allocations: 58.05 MB / 0.5036 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006354/0.3116, allocations: 5.489 MB / 0.509 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.3139, allocations: 1.306 MB / 0.5103 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.3142, allocations: 22.44 kB / 0.5103 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.3146, allocations: 133.9 kB / 0.5104 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009027/0.3156, allocations: 378.3 kB / 0.5108 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.3159, allocations: 140.8 kB / 0.5109 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008894/0.3168, allocations: 0.7458 MB / 0.5116 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.3172, allocations: 203.8 kB / 0.5118 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005685/0.3178, allocations: 345.5 kB / 0.5121 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.3185, allocations: 383.6 kB / 0.5125 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.292e-05/0.3186, allocations: 36.22 kB / 0.5125 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3187, allocations: 36.38 kB / 0.5126 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.319, allocations: 192.8 kB / 0.5128 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.3192, allocations: 250.6 kB / 0.513 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006803/0.3199, allocations: 0.532 MB / 0.5135 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3199, allocations: 0 / 0.5135 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.32, allocations: 0 / 0.5135 GB, free: 1.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.32, allocations: 1.125 kB / 0.5135 GB, free: 1.215 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.001255/0.3212, allocations: 0.8201 MB / 0.5143 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3213, allocations: 13.61 kB / 0.5143 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.018e-05/0.3214, allocations: 82.23 kB / 0.5144 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.3215, allocations: 58.95 kB / 0.5145 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/0.3223, allocations: 499.8 kB / 0.515 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.3224, allocations: 33.17 kB / 0.515 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.3225, allocations: 41 kB / 0.515 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009084/0.3234, allocations: 0.4925 MB / 0.5155 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3234, allocations: 0.75 kB / 0.5155 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.3235, allocations: 21.97 kB / 0.5155 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/0.3235, allocations: 19.52 kB / 0.5155 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.3242, allocations: 368.9 kB / 0.5159 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.3272, allocations: 2.066 MB / 0.5179 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.3278, allocations: 240.1 kB / 0.5181 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.3281, allocations: 126.8 kB / 0.5183 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3281, allocations: 10.28 kB / 0.5183 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3282, allocations: 38.23 kB / 0.5183 GB, free: 13.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 3.486e-06/0.3282, allocations: 7.922 kB / 0.5183 GB, free: 13.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001434/0.3296, allocations: 0.775 MB / 0.5191 GB, free: 13.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.3297, allocations: 83.88 kB / 0.5192 GB, free: 13.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004879/0.3302, allocations: 380.5 kB / 0.5195 GB, free: 13.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3302, allocations: 31.86 kB / 0.5195 GB, free: 13.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.3304, allocations: 299.2 kB / 0.5198 GB, free: 12.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.3305, allocations: 79.33 kB / 0.5199 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3306, allocations: 86.95 kB / 0.52 GB, free: 12.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3308, allocations: 352.4 kB / 0.5203 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.331, allocations: 85.61 kB / 0.5204 GB, free: 12.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.3312, allocations: 270.6 kB / 0.5207 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.3317, allocations: 410.4 kB / 0.5211 GB, free: 11.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.3317, allocations: 2.156 kB / 0.5211 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007159/0.3324, allocations: 450.6 kB / 0.5215 GB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.3324, allocations: 8.562 kB / 0.5215 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3324, allocations: 6.562 kB / 0.5215 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.3327, allocations: 55.78 kB / 0.5216 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.333, allocations: 84.08 kB / 0.5216 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.3346, allocations: 1.623 MB / 0.5232 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.3349, allocations: 18.75 kB / 0.5232 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.3349, allocations: 17.47 kB / 0.5233 GB, free: 9.973 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.000266/0.3352, allocations: 203.5 kB / 0.5235 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.3352, allocations: 41.08 kB / 0.5235 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.3356, allocations: 250.7 kB / 0.5237 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3357, allocations: 3.156 kB / 0.5237 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3357, allocations: 2.125 kB / 0.5237 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3357, allocations: 0 / 0.5237 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009972/0.3367, allocations: 0.682 MB / 0.5244 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3367, allocations: 2.031 kB / 0.5244 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.3369, allocations: 50.5 kB / 0.5245 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3369, allocations: 2.75 kB / 0.5245 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.337, allocations: 7.312 kB / 0.5245 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.337, allocations: 1.375 kB / 0.5245 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.337, allocations: 2.266 kB / 0.5245 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.3374, allocations: 433.8 kB / 0.5249 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.3376, allocations: 132.6 kB / 0.525 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.3376, allocations: 1.281 kB / 0.525 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.3378, allocations: 9.766 kB / 0.525 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.3378, allocations: 15.58 kB / 0.525 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3378, allocations: 5.797 kB / 0.525 GB, free: 8.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.3381, allocations: 259 kB / 0.5253 GB, free: 8.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3381, allocations: 0 / 0.5253 GB, free: 8.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004755/0.3386, allocations: 94.81 kB / 0.5254 GB, free: 8.641 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.0008863/0.3395, allocations: 0.9603 MB / 0.5263 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007907/0.3403, allocations: 394.9 kB / 0.5267 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3403, allocations: 0 / 0.5267 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.3404, allocations: 91.02 kB / 0.5268 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.3411, allocations: 93.64 kB / 0.5269 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.3461, allocations: 3.72 MB / 0.5305 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.3467, allocations: 0.8572 MB / 0.5313 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000348/0.3471, allocations: 79.53 kB / 0.5314 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.3473, allocations: 156.8 kB / 0.5316 GB, free: 4.156 MB / 398.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3473, allocations: 0 / 0.5316 GB, free: 4.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.3783, allocations: 7.635 MB / 0.539 GB, free: 1.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.928/10.31, allocations: 10.36 kB / 0.539 GB, free: 1.297 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