Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005432/0.005432, allocations: 101.3 kB / 15.73 MB, free: 5.492 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.00176/0.00176, allocations: 188.8 kB / 16.67 MB, free: 5.422 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 293.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8962/0.8962, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 103.8 kB / 0.6815 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4482, allocations: 86.96 MB / 0.7664 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02419/0.4725, allocations: 22.59 MB / 0.7885 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.4827, allocations: 6.225 MB / 0.7945 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.4845, allocations: 95.5 kB / 0.7946 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003942/0.4884, allocations: 1.548 MB / 0.7961 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003812/0.4922, allocations: 1.719 MB / 0.7978 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.4954, allocations: 1.357 MB / 0.7991 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006199/0.5016, allocations: 5.951 MB / 0.805 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007599/0.5092, allocations: 6.044 MB / 0.8109 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003794/0.513, allocations: 2.446 MB / 0.8132 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004947/0.518, allocations: 2.87 MB / 0.816 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001471/0.5195, allocations: 456 kB / 0.8165 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.5224, allocations: 1.1 MB / 0.8176 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003317/0.5258, allocations: 2.031 MB / 0.8195 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004672/0.5305, allocations: 2.163 MB / 0.8217 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008762/0.5392, allocations: 7.29 MB / 0.8288 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5393, allocations: 0 / 0.8288 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5393, allocations: 0 / 0.8288 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002557/0.5395, allocations: 0 / 0.8288 GB, free: 3.832 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.009791/0.5493, allocations: 3.828 MB / 0.8325 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5494, allocations: 8.031 kB / 0.8325 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006113/0.5555, allocations: 1.206 MB / 0.8337 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/0.5597, allocations: 2.344 MB / 0.836 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.5599, allocations: 242.3 kB / 0.8362 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006114/0.5606, allocations: 316 kB / 0.8365 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009317/0.5699, allocations: 6.212 MB / 0.8426 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.278e-05/0.57, allocations: 15.94 kB / 0.8426 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/0.5703, allocations: 135.9 kB / 0.8427 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004607/0.5708, allocations: 410.3 kB / 0.8431 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00704/0.5778, allocations: 4.658 MB / 0.8477 GB, free: 88 kB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02918/0.607, allocations: 28.95 MB / 0.8759 GB, free: 428 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.6089, allocations: 1.416 MB / 0.8773 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/0.6108, allocations: 1.483 MB / 0.8788 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.824e-05/0.6108, allocations: 13 kB / 0.8788 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.6109, allocations: 47.56 kB / 0.8788 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.096e-06/0.6109, allocations: 0 / 0.8788 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179): time 0.1503/0.7612, allocations: 37.25 MB / 0.9152 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.7613, allocations: 73.41 kB / 0.9153 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.7633, allocations: 1.423 MB / 0.9167 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002758/0.7636, allocations: 53.7 kB / 0.9167 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.7647, allocations: 1.535 MB / 0.9182 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006513/0.7653, allocations: 0.6162 MB / 0.9188 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007019/0.766, allocations: 379.3 kB / 0.9192 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7662, allocations: 309.1 kB / 0.9195 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/0.7687, allocations: 1.784 MB / 0.9212 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/0.7716, allocations: 2.35 MB / 0.9235 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/0.7772, allocations: 4.383 MB / 0.9278 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.7772, allocations: 4 kB / 0.9278 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01774/0.7949, allocations: 8.571 MB / 0.9362 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.795, allocations: 12 kB / 0.9362 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.795, allocations: 16 kB / 0.9362 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01479/0.8098, allocations: 4.639 MB / 0.9407 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.8111, allocations: 307.5 kB / 0.941 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4233/1.234, allocations: 32.58 MB / 0.9728 GB, free: 181.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/1.237, allocations: 151.1 kB / 0.973 GB, free: 181.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/1.237, allocations: 83.56 kB / 0.9731 GB, free: 181.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002065/1.239, allocations: 1.332 MB / 0.9744 GB, free: 180.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/1.239, allocations: 195.6 kB / 0.9745 GB, free: 180.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/1.256, allocations: 8.445 MB / 0.9828 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/1.256, allocations: 19.75 kB / 0.9828 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.753e-05/1.256, allocations: 27.61 kB / 0.9828 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/1.256, allocations: 7.688 kB / 0.9828 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/1.276, allocations: 12.85 MB / 0.9954 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.276, allocations: 3.812 kB / 0.9954 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/1.277, allocations: 168.2 kB / 0.9956 GB, free: 174.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/1.289, allocations: 4.482 MB / 0.9999 GB, free: 172.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002243/1.29, allocations: 36 kB / 1 GB, free: 172.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03684/1.327, allocations: 32.2 MB / 1.031 GB, free: 139.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.327, allocations: 11.94 kB / 1.031 GB, free: 139.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/1.341, allocations: 8.236 MB / 1.039 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.342, allocations: 0.616 MB / 1.04 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/1.342, allocations: 49.3 kB / 1.04 GB, free: 130.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.344, allocations: 139.8 kB / 1.04 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007283/1.344, allocations: 172.8 kB / 1.04 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/1.344, allocations: 48 kB / 1.04 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009851/1.345, allocations: 0.9588 MB / 1.041 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/1.345, allocations: 0 / 1.041 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002614/1.348, allocations: 1.113 MB / 1.042 GB, free: 128.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002604/1.348, allocations: 155.8 kB / 1.043 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.359, allocations: 6.538 MB / 1.049 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.016e-06/1.359, allocations: 3.938 kB / 1.049 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008111/1.367, allocations: 4.36 MB / 1.053 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/1.369, allocations: 0.5227 MB / 1.054 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009357/1.379, allocations: 6.805 MB / 1.06 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/1.381, allocations: 2.723 MB / 1.063 GB, free: 106.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009131/1.382, allocations: 384.6 kB / 1.063 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/1.382, allocations: 95.44 kB / 1.064 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.182e-06/1.382, allocations: 0 / 1.064 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.06914/1.451, allocations: 61.13 MB / 1.123 GB, free: 45.54 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)