Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005034/0.005034, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.00144/0.00144, allocations: 190.5 kB / 16.67 MB, free: 5.922 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002425/0.002425, allocations: 287.8 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.9167/0.9167, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003096/0.003096, allocations: 99.84 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3434, allocations: 86.97 MB / 0.7659 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01215/0.3555, allocations: 10.07 MB / 0.7758 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005137/0.3607, allocations: 3.174 MB / 0.7789 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003907/0.3611, allocations: 35.81 kB / 0.7789 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.3626, allocations: 0.6101 MB / 0.7795 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.3638, allocations: 0.7349 MB / 0.7802 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3651, allocations: 0.7389 MB / 0.7809 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002698/0.3678, allocations: 2.992 MB / 0.7838 GB, free: 1.445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002657/0.3704, allocations: 2.583 MB / 0.7864 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.3717, allocations: 1.262 MB / 0.7876 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.3735, allocations: 1.554 MB / 0.7891 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000282/0.3738, allocations: 236 kB / 0.7893 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007431/0.3745, allocations: 0.4993 MB / 0.7898 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009438/0.3755, allocations: 1.068 MB / 0.7909 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.3765, allocations: 1.112 MB / 0.792 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.3798, allocations: 3.7 MB / 0.7956 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3798, allocations: 0 / 0.7956 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3798, allocations: 0 / 0.7956 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.3798, allocations: 0 / 0.7956 GB, free: 5.363 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003455/0.3833, allocations: 2.19 MB / 0.7977 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3833, allocations: 8.031 kB / 0.7977 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003255/0.3836, allocations: 269.2 kB / 0.798 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007807/0.3914, allocations: 1.322 MB / 0.7993 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.3935, allocations: 1.306 MB / 0.8005 GB, free: 164 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.3936, allocations: 111.4 kB / 0.8006 GB, free: 52 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003195/0.3939, allocations: 152.3 kB / 0.8008 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/0.3987, allocations: 3.439 MB / 0.8042 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.3988, allocations: 3.938 kB / 0.8042 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.399, allocations: 75.91 kB / 0.8042 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/0.3992, allocations: 199.1 kB / 0.8044 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004583/0.4038, allocations: 3.128 MB / 0.8075 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.4199, allocations: 13.57 MB / 0.8207 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.4224, allocations: 1.727 MB / 0.8224 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/0.4244, allocations: 1.441 MB / 0.8238 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.651e-05/0.4245, allocations: 20.92 kB / 0.8238 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.4245, allocations: 39.56 kB / 0.8239 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 2.584e-06/0.4245, allocations: 0 / 0.8239 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=183): time 0.1272/0.5517, allocations: 36.71 MB / 0.8597 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.5518, allocations: 69.41 kB / 0.8598 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.5531, allocations: 1.061 MB / 0.8608 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.5533, allocations: 53.7 kB / 0.8609 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005674/0.5539, allocations: 0.8171 MB / 0.8617 GB, free: 372 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005942/0.5545, allocations: 0.647 MB / 0.8623 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007038/0.5552, allocations: 363.5 kB / 0.8627 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5553, allocations: 305.1 kB / 0.863 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/0.558, allocations: 1.924 MB / 0.8648 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002969/0.561, allocations: 2.296 MB / 0.8671 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005794/0.5668, allocations: 4.396 MB / 0.8714 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5668, allocations: 4 kB / 0.8714 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01922/0.586, allocations: 9.026 MB / 0.8802 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.586, allocations: 12 kB / 0.8802 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.5861, allocations: 8 kB / 0.8802 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01606/0.6021, allocations: 4.978 MB / 0.8851 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/0.6029, allocations: 187.7 kB / 0.8852 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05607/0.659, allocations: 38.92 MB / 0.9233 GB, free: 440 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.6605, allocations: 107.9 kB / 0.9234 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.6608, allocations: 60 kB / 0.9234 GB, free: 272 kB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001259/0.662, allocations: 0.8211 MB / 0.9242 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.6623, allocations: 151.1 kB / 0.9244 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01865/0.681, allocations: 8.882 MB / 0.933 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.681, allocations: 16 kB / 0.933 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.286e-05/0.6811, allocations: 32 kB / 0.9331 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.6811, allocations: 7.969 kB / 0.9331 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02486/0.706, allocations: 13.41 MB / 0.9462 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.706, allocations: 4 kB / 0.9462 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.7064, allocations: 119.8 kB / 0.9463 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01521/0.7216, allocations: 4.843 MB / 0.951 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.7218, allocations: 32 kB / 0.9511 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3342/1.056, allocations: 36.85 MB / 0.987 GB, free: 183.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.056, allocations: 3.688 kB / 0.987 GB, free: 183.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/1.071, allocations: 8.6 MB / 0.9954 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008859/1.071, allocations: 0.6408 MB / 0.9961 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/1.072, allocations: 42.31 kB / 0.9961 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.073, allocations: 90.62 kB / 0.9962 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006348/1.073, allocations: 165 kB / 0.9964 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.074, allocations: 47.12 kB / 0.9964 GB, free: 180.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006551/1.074, allocations: 0.7401 MB / 0.9971 GB, free: 179.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.074, allocations: 0 / 0.9971 GB, free: 179.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002251/1.076, allocations: 1.004 MB / 0.9981 GB, free: 178.7 MB / 0.7325 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01443/1.091, allocations: 9.198 MB / 1.007 GB, free: 170.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006778/1.098, allocations: 5.954 MB / 1.013 GB, free: 164.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.098, allocations: 3.875 kB / 1.013 GB, free: 164.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005524/1.103, allocations: 3.949 MB / 1.017 GB, free: 160.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/1.104, allocations: 243.2 kB / 1.017 GB, free: 160.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04164/1.146, allocations: 31.07 MB / 1.047 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.147, allocations: 1.863 MB / 1.049 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005661/1.148, allocations: 364.4 kB / 1.05 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/1.148, allocations: 0.6047 MB / 1.05 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/1.148, allocations: 0 / 1.05 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.92/5.068, allocations: 76.19 MB / 1.124 GB, free: 49.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.22/21.29, allocations: 10.09 kB / 1.125 GB, free: 49.91 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)