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.001036/0.001036, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.001102/0.001102, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002168, allocations: 285.4 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8939/0.8939, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 103 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1652, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.2843/0.4496, allocations: 22.57 MB / 0.7037 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.4598, allocations: 6.219 MB / 0.7097 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.4614, allocations: 96.69 kB / 0.7098 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.4647, allocations: 1.54 MB / 0.7113 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.4682, allocations: 1.628 MB / 0.7129 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.4714, allocations: 1.343 MB / 0.7142 GB, free: 140 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007849/0.4793, allocations: 5.94 MB / 0.72 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008038/0.4874, allocations: 6.047 MB / 0.7259 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004892/0.4923, allocations: 2.425 MB / 0.7283 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/0.4963, allocations: 2.864 MB / 0.7311 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006688/0.497, allocations: 457.6 kB / 0.7315 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.4995, allocations: 1.097 MB / 0.7326 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00214/0.5016, allocations: 2.034 MB / 0.7346 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002509/0.5041, allocations: 2.161 MB / 0.7367 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007566/0.5117, allocations: 7.298 MB / 0.7438 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5117, allocations: 0 / 0.7438 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5117, allocations: 0 / 0.7438 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000131/0.5119, allocations: 4 kB / 0.7438 GB, free: 15.91 MB / 0.5137 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.006684/0.5186, allocations: 3.82 MB / 0.7476 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.5186, allocations: 8.031 kB / 0.7476 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005621/0.5242, allocations: 1.21 MB / 0.7488 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004863/0.5291, allocations: 2.34 MB / 0.751 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.5293, allocations: 242.3 kB / 0.7513 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005227/0.5298, allocations: 323.8 kB / 0.7516 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009636/0.5395, allocations: 6.212 MB / 0.7577 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-05/0.5396, allocations: 15.94 kB / 0.7577 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000336/0.5399, allocations: 143.9 kB / 0.7578 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004578/0.5404, allocations: 406.3 kB / 0.7582 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008061/0.5484, allocations: 4.662 MB / 0.7627 GB, free: 12.16 MB / 0.5294 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.03106/0.5795, allocations: 28.95 MB / 0.791 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.5814, allocations: 1.409 MB / 0.7924 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.5831, allocations: 1.487 MB / 0.7938 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.5832, allocations: 13 kB / 0.7939 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.5833, allocations: 43.56 kB / 0.7939 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 2.776e-06/0.5833, allocations: 0 / 0.7939 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.124/0.7073, allocations: 37.24 MB / 0.8303 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.7074, allocations: 73.41 kB / 0.8303 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.7093, allocations: 1.427 MB / 0.8317 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.7094, allocations: 49.7 kB / 0.8318 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009386/0.7104, allocations: 1.543 MB / 0.8333 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005158/0.7109, allocations: 0.6084 MB / 0.8339 GB, free: 460 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006839/0.7116, allocations: 383.3 kB / 0.8342 GB, free: 68 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7117, allocations: 301.1 kB / 0.8345 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.7141, allocations: 1.78 MB / 0.8363 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/0.7169, allocations: 2.35 MB / 0.8386 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005384/0.7223, allocations: 4.391 MB / 0.8429 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.7223, allocations: 15.94 kB / 0.8429 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01636/0.7387, allocations: 8.563 MB / 0.8512 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.7388, allocations: 12 kB / 0.8512 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.7388, allocations: 16 kB / 0.8513 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01353/0.7523, allocations: 4.645 MB / 0.8558 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.7534, allocations: 295.5 kB / 0.8561 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04275/0.7962, allocations: 32.59 MB / 0.8879 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.7981, allocations: 151.8 kB / 0.888 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.7983, allocations: 80 kB / 0.8881 GB, free: 7.48 MB / 0.6544 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.002127/0.8005, allocations: 1.34 MB / 0.8894 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.8008, allocations: 205.6 kB / 0.8896 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/0.8168, allocations: 8.429 MB / 0.8979 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.8169, allocations: 16 kB / 0.8979 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.77e-05/0.8169, allocations: 31.94 kB / 0.8979 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/0.8169, allocations: 11.95 kB / 0.8979 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02234/0.8393, allocations: 12.85 MB / 0.9105 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.8393, allocations: 8.844 kB / 0.9105 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/0.84, allocations: 159.8 kB / 0.9106 GB, free: 224 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01305/0.8531, allocations: 4.489 MB / 0.915 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/0.8533, allocations: 36 kB / 0.915 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04458/0.8979, allocations: 32.19 MB / 0.9465 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.8979, allocations: 8 kB / 0.9465 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/0.9135, allocations: 8.236 MB / 0.9545 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/0.9152, allocations: 0.6195 MB / 0.9551 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/0.9155, allocations: 47.92 kB / 0.9552 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.9168, allocations: 135.8 kB / 0.9553 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007515/0.9175, allocations: 165 kB / 0.9555 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.9177, allocations: 55.98 kB / 0.9555 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001198/0.9189, allocations: 0.951 MB / 0.9564 GB, free: 272 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9189, allocations: 3.938 kB / 0.9565 GB, free: 268 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.2871/1.206, allocations: 1.117 MB / 0.9575 GB, free: 229.9 MB / 0.7169 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.0002969/1.206, allocations: 148.1 kB / 0.9577 GB, free: 229.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01208/1.218, allocations: 6.533 MB / 0.9641 GB, free: 229 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.218, allocations: 7.969 kB / 0.9641 GB, free: 229 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008843/1.227, allocations: 4.358 MB / 0.9683 GB, free: 228.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/1.23, allocations: 0.5186 MB / 0.9688 GB, free: 228 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.242, allocations: 6.808 MB / 0.9755 GB, free: 225 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/1.245, allocations: 2.727 MB / 0.9781 GB, free: 223.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001341/1.247, allocations: 390.2 kB / 0.9785 GB, free: 223.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/1.247, allocations: 94.66 kB / 0.9786 GB, free: 223.8 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/1.247, allocations: 4.781 kB / 0.9786 GB, free: 223.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.07313/1.32, allocations: 60.51 MB / 1.038 GB, free: 184.5 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)