Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 109.2 kB / 17.74 MB, free: 5.332 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.001086/0.001086, allocations: 188.3 kB / 18.68 MB, free: 4.406 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.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.168/0.168, allocations: 38.03 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.308, allocations: 58.06 MB / 0.5048 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006012/0.314, allocations: 5.505 MB / 0.5102 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.3162, allocations: 1.361 MB / 0.5115 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004212/0.3166, allocations: 18.84 kB / 0.5115 GB, free: 3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.3171, allocations: 136.7 kB / 0.5116 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.3182, allocations: 380.4 kB / 0.512 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.3186, allocations: 154.1 kB / 0.5121 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.3198, allocations: 0.7776 MB / 0.5129 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.3201, allocations: 221.5 kB / 0.5131 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006754/0.3208, allocations: 349.9 kB / 0.5135 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008124/0.3217, allocations: 411.3 kB / 0.5138 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.3218, allocations: 40.44 kB / 0.5139 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.322, allocations: 39.97 kB / 0.5139 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.3223, allocations: 198.5 kB / 0.5141 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.3227, allocations: 278.4 kB / 0.5144 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007254/0.3234, allocations: 0.5803 MB / 0.5149 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3234, allocations: 0 / 0.5149 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3234, allocations: 1.094 kB / 0.5149 GB, free: 1.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.3235, allocations: 4 kB / 0.5149 GB, free: 1.418 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001737/0.3252, allocations: 0.8836 MB / 0.5158 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3253, allocations: 12.81 kB / 0.5158 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.3254, allocations: 62.42 kB / 0.5159 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009274/0.3264, allocations: 0.5064 MB / 0.5164 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.3264, allocations: 32.28 kB / 0.5164 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.3265, allocations: 44.42 kB / 0.5165 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/0.3273, allocations: 0.5339 MB / 0.517 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3274, allocations: 4.438 kB / 0.517 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.3274, allocations: 16.75 kB / 0.517 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/0.3275, allocations: 24.22 kB / 0.517 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008041/0.3283, allocations: 395 kB / 0.5174 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.331, allocations: 1.915 MB / 0.5193 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.3316, allocations: 337.5 kB / 0.5196 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.332, allocations: 184.6 kB / 0.5198 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.332, allocations: 3.312 kB / 0.5198 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/0.3324, allocations: 297.8 kB / 0.52 GB, free: 14.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.836e-06/0.3324, allocations: 3.938 kB / 0.5201 GB, free: 14.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.001952/0.3344, allocations: 1.172 MB / 0.5212 GB, free: 13.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.3345, allocations: 166.3 kB / 0.5214 GB, free: 13.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.3349, allocations: 397.1 kB / 0.5217 GB, free: 13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.335, allocations: 34.23 kB / 0.5218 GB, free: 12.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.3352, allocations: 298.6 kB / 0.522 GB, free: 12.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.785e-05/0.3353, allocations: 114.2 kB / 0.5222 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3354, allocations: 94.73 kB / 0.5222 GB, free: 12.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3356, allocations: 359.8 kB / 0.5226 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.3358, allocations: 121.7 kB / 0.5227 GB, free: 12.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.3361, allocations: 295.6 kB / 0.523 GB, free: 11.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005937/0.3367, allocations: 480.7 kB / 0.5234 GB, free: 11.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3368, allocations: 1.375 kB / 0.5234 GB, free: 11.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007966/0.3376, allocations: 0.5201 MB / 0.524 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.3376, allocations: 34.64 kB / 0.524 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3376, allocations: 9.812 kB / 0.524 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.3376, allocations: 9.266 kB / 0.524 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.3381, allocations: 107.7 kB / 0.5241 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.3381, allocations: 16.77 kB / 0.5241 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.3384, allocations: 22.59 kB / 0.5241 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.3384, allocations: 32.42 kB / 0.5242 GB, free: 11.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002838/0.3387, allocations: 247.4 kB / 0.5244 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/0.3388, allocations: 49.53 kB / 0.5245 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000694/0.3395, allocations: 455.4 kB / 0.5249 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3395, allocations: 3.109 kB / 0.5249 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3395, allocations: 4 kB / 0.5249 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.3397, allocations: 140.3 kB / 0.525 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.3398, allocations: 8.812 kB / 0.525 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.34, allocations: 14 kB / 0.5251 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.3401, allocations: 22.58 kB / 0.5251 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00091/0.341, allocations: 0.6407 MB / 0.5257 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001007/0.342, allocations: 0.8521 MB / 0.5265 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002699/0.3423, allocations: 183.1 kB / 0.5267 GB, free: 9.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003253/0.3427, allocations: 273.4 kB / 0.527 GB, free: 9.562 MB / 398.1 MB Notification: Performance of Backend: time 6.31e-07/0.3427, allocations: 0 / 0.527 GB, free: 9.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008962/0.3436, allocations: 366 kB / 0.5273 GB, free: 9.359 MB / 398.1 MB Notification: Performance of SimCode: time 0.002215/0.3458, allocations: 1.44 MB / 0.5287 GB, free: 8.312 MB / 398.1 MB Notification: Performance of Templates: time 0.01312/0.3589, allocations: 4.892 MB / 0.5335 GB, free: 6.805 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches