Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 108.2 kB / 16.41 MB, free: 6.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.001712/0.001712, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002555/0.002555, allocations: 299.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 95.83 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4411, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01892/0.4601, allocations: 14.79 MB / 0.7815 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01682/0.4769, allocations: 10.38 MB / 0.7916 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.4786, allocations: 59.62 kB / 0.7917 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004629/0.4833, allocations: 1.695 MB / 0.7933 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005445/0.4887, allocations: 1.849 MB / 0.7952 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.4907, allocations: 0.762 MB / 0.7959 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003853/0.4946, allocations: 2.752 MB / 0.7986 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.4962, allocations: 1.126 MB / 0.7997 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.4983, allocations: 1.531 MB / 0.8012 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.4999, allocations: 1.164 MB / 0.8023 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.5002, allocations: 160 kB / 0.8025 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.5017, allocations: 0.7915 MB / 0.8032 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006084/0.5023, allocations: 0.6191 MB / 0.8038 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009632/0.5032, allocations: 0.9561 MB / 0.8048 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.5064, allocations: 2.775 MB / 0.8075 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5064, allocations: 4 kB / 0.8075 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5064, allocations: 0 / 0.8075 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.927e-05/0.5064, allocations: 0 / 0.8075 GB, free: 10.36 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004001/0.5104, allocations: 2.234 MB / 0.8097 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5104, allocations: 11.97 kB / 0.8097 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.5227, allocations: 2.117 MB / 0.8118 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.5256, allocations: 1.312 MB / 0.813 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.642e-05/0.5257, allocations: 90.69 kB / 0.8131 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/0.526, allocations: 120.1 kB / 0.8132 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006059/0.532, allocations: 2.67 MB / 0.8158 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.5321, allocations: 7.938 kB / 0.8159 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.5323, allocations: 55.98 kB / 0.8159 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007189/0.533, allocations: 190.1 kB / 0.8161 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008109/0.5411, allocations: 2.795 MB / 0.8188 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.557, allocations: 10.48 MB / 0.8291 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006982/0.5639, allocations: 2.246 MB / 0.8313 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/0.5671, allocations: 1.206 MB / 0.8324 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.904e-05/0.5672, allocations: 13 kB / 0.8324 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.5672, allocations: 43.56 kB / 0.8325 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 2.234e-06/0.5672, allocations: 0 / 0.8325 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.06369/0.6309, allocations: 16.45 MB / 0.8485 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.631, allocations: 68.72 kB / 0.8486 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.6326, allocations: 1.172 MB / 0.8498 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.6327, allocations: 49.7 kB / 0.8498 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006245/0.6334, allocations: 0.7607 MB / 0.8505 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005386/0.6339, allocations: 0.5383 MB / 0.8511 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005856/0.6345, allocations: 291.5 kB / 0.8514 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6346, allocations: 309 kB / 0.8516 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003784/0.6384, allocations: 1.503 MB / 0.8531 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004016/0.6424, allocations: 1.788 MB / 0.8549 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007861/0.6503, allocations: 3.362 MB / 0.8581 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.6503, allocations: 8 kB / 0.8582 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01426/0.6645, allocations: 5.211 MB / 0.8632 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.6646, allocations: 10.97 kB / 0.8632 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.6646, allocations: 11.94 kB / 0.8633 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007026/0.6716, allocations: 1.878 MB / 0.8651 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.6736, allocations: 415.2 kB / 0.8655 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03233/0.706, allocations: 24.15 MB / 0.8891 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/0.7088, allocations: 303.5 kB / 0.8894 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/0.7089, allocations: 67.95 kB / 0.8894 GB, free: 3.984 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009157/0.7099, allocations: 474.7 kB / 0.8899 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/0.7102, allocations: 182.9 kB / 0.8901 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/0.7248, allocations: 5.246 MB / 0.8952 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.7248, allocations: 16 kB / 0.8952 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.153e-05/0.7248, allocations: 20 kB / 0.8952 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.7248, allocations: 7.969 kB / 0.8952 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/0.7428, allocations: 7.353 MB / 0.9024 GB, free: 6.523 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.7428, allocations: 4.031 kB / 0.9024 GB, free: 6.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/0.7446, allocations: 347.4 kB / 0.9027 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006453/0.751, allocations: 1.71 MB / 0.9044 GB, free: 4.445 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/0.7513, allocations: 39.97 kB / 0.9044 GB, free: 4.406 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03183/0.7831, allocations: 23.34 MB / 0.9272 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7831, allocations: 4.062 kB / 0.9273 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/0.7965, allocations: 4.826 MB / 0.932 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.7978, allocations: 499.7 kB / 0.9324 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/0.798, allocations: 35.94 kB / 0.9325 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/0.8003, allocations: 315.5 kB / 0.9328 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005699/0.8008, allocations: 156.9 kB / 0.9329 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.801, allocations: 59.91 kB / 0.933 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00117/0.8021, allocations: 0.7899 MB / 0.9338 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.8021, allocations: 0 / 0.9338 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002245/0.8044, allocations: 0.6562 MB / 0.9344 GB, free: 4.527 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003079/0.8047, allocations: 135.2 kB / 0.9345 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01205/0.8167, allocations: 4.921 MB / 0.9393 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.8167, allocations: 0 / 0.9393 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007634/0.8244, allocations: 3.273 MB / 0.9425 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.827, allocations: 0.5672 MB / 0.9431 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009611/0.8366, allocations: 4.329 MB / 0.9473 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.8381, allocations: 1.568 MB / 0.9488 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001454/0.8396, allocations: 386.4 kB / 0.9492 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/0.8399, allocations: 107.4 kB / 0.9493 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/0.84, allocations: 0 / 0.9493 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of Templates: time 0.4229/1.263, allocations: 45.64 MB / 0.9939 GB, free: 177.4 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)