Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001462/0.001462, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002503/0.002503, allocations: 278.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 178.6 MB / 0.507 GB, free: 4.715 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002834/0.002834, allocations: 99.14 kB / 0.6059 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1791, allocations: 89.15 MB / 0.693 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01271/0.1918, allocations: 9.978 MB / 0.7027 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005449/0.1973, allocations: 3.016 MB / 0.7057 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.1978, allocations: 31.81 kB / 0.7057 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.1994, allocations: 0.6281 MB / 0.7063 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.2008, allocations: 0.642 MB / 0.707 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.2021, allocations: 0.5917 MB / 0.7075 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002979/0.2051, allocations: 2.75 MB / 0.7102 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004246/0.2093, allocations: 3.066 MB / 0.7132 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.2111, allocations: 1.141 MB / 0.7143 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.213, allocations: 1.465 MB / 0.7158 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003069/0.2133, allocations: 216 kB / 0.716 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009601/0.2143, allocations: 499.4 kB / 0.7164 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.2153, allocations: 0.9824 MB / 0.7174 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.2164, allocations: 1.011 MB / 0.7184 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003356/0.2198, allocations: 3.412 MB / 0.7217 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2198, allocations: 0 / 0.7217 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2198, allocations: 0 / 0.7217 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.486e-05/0.2198, allocations: 0 / 0.7217 GB, free: 7.16 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003618/0.2235, allocations: 1.94 MB / 0.7236 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2235, allocations: 12.03 kB / 0.7236 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0058/0.2293, allocations: 0.8921 MB / 0.7245 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.2312, allocations: 1.11 MB / 0.7256 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-05/0.2314, allocations: 115.3 kB / 0.7257 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.2316, allocations: 144.2 kB / 0.7258 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005151/0.2368, allocations: 3.017 MB / 0.7288 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/0.2369, allocations: 7.938 kB / 0.7288 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.2371, allocations: 67.97 kB / 0.7288 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00023/0.2373, allocations: 171 kB / 0.729 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004291/0.2416, allocations: 2.619 MB / 0.7316 GB, free: 12.87 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.01685/0.2585, allocations: 13.55 MB / 0.7448 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.2606, allocations: 1.296 MB / 0.7461 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.2621, allocations: 1.047 MB / 0.7471 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.862e-05/0.2621, allocations: 8.656 kB / 0.7471 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.2622, allocations: 43.22 kB / 0.7471 GB, free: 11.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 4.839e-06/0.2622, allocations: 3.938 kB / 0.7471 GB, free: 11.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.368/0.6302, allocations: 19.38 MB / 0.7661 GB, free: 64.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.6302, allocations: 66.38 kB / 0.7661 GB, free: 64.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.6314, allocations: 0.9208 MB / 0.767 GB, free: 64.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.6316, allocations: 45.52 kB / 0.7671 GB, free: 64.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.632, allocations: 0.7296 MB / 0.7678 GB, free: 63.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.6323, allocations: 485.7 kB / 0.7683 GB, free: 63.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000603/0.6329, allocations: 289.7 kB / 0.7685 GB, free: 63.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.633, allocations: 354 kB / 0.7689 GB, free: 63.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.6349, allocations: 1.334 MB / 0.7702 GB, free: 62.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.6368, allocations: 1.662 MB / 0.7718 GB, free: 61.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.6403, allocations: 3.091 MB / 0.7748 GB, free: 60.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.6403, allocations: 2.75 kB / 0.7748 GB, free: 60.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01088/0.6512, allocations: 5.641 MB / 0.7803 GB, free: 58.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.6512, allocations: 10.25 kB / 0.7803 GB, free: 58.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.6513, allocations: 10.31 kB / 0.7803 GB, free: 58.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008346/0.6596, allocations: 2.74 MB / 0.783 GB, free: 57.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/0.6605, allocations: 192.8 kB / 0.7832 GB, free: 57.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02962/0.6902, allocations: 25.72 MB / 0.8083 GB, free: 39.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.6916, allocations: 96.83 kB / 0.8084 GB, free: 39.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.6917, allocations: 56 kB / 0.8085 GB, free: 39.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009792/0.6927, allocations: 0.736 MB / 0.8092 GB, free: 38.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.6929, allocations: 114.7 kB / 0.8093 GB, free: 38.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009248/0.7022, allocations: 5.396 MB / 0.8146 GB, free: 33.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.7022, allocations: 16 kB / 0.8146 GB, free: 33.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/0.7023, allocations: 19.94 kB / 0.8146 GB, free: 33.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.7023, allocations: 7.969 kB / 0.8146 GB, free: 33.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.7153, allocations: 8.647 MB / 0.823 GB, free: 24.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.7153, allocations: 5.875 kB / 0.8231 GB, free: 24.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.7157, allocations: 112.3 kB / 0.8232 GB, free: 24.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007274/0.723, allocations: 2.573 MB / 0.8257 GB, free: 21.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/0.7232, allocations: 24 kB / 0.8257 GB, free: 21.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02583/0.749, allocations: 23 MB / 0.8482 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.7491, allocations: 7.938 kB / 0.8482 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.7602, allocations: 5.13 MB / 0.8532 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009722/0.7612, allocations: 475.6 kB / 0.8536 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.7615, allocations: 31.98 kB / 0.8537 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008884/0.7624, allocations: 75.91 kB / 0.8537 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005668/0.7629, allocations: 128.7 kB / 0.8539 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.7631, allocations: 36 kB / 0.8539 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009067/0.764, allocations: 0.6434 MB / 0.8545 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.764, allocations: 0 / 0.8545 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002422/0.7664, allocations: 0.7227 MB / 0.8552 GB, free: 7.094 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00028/0.7667, allocations: 135.1 kB / 0.8554 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008447/0.7752, allocations: 4.741 MB / 0.86 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7752, allocations: 0 / 0.86 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005325/0.7805, allocations: 2.65 MB / 0.8626 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.7819, allocations: 225.4 kB / 0.8628 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/0.7893, allocations: 4.679 MB / 0.8674 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/0.791, allocations: 1.692 MB / 0.869 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008081/0.7918, allocations: 330.4 kB / 0.8693 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.792, allocations: 63.42 kB / 0.8694 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.792, allocations: 0 / 0.8694 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.06262/0.8547, allocations: 39.51 MB / 0.908 GB, free: 1.195 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)