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.004849/0.004849, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001269/0.001269, allocations: 194.7 kB / 16.68 MB, free: 5.969 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.396/1.396, allocations: 222.9 MB / 240.4 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.002547/0.002547, allocations: 291.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 103.8 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4085, allocations: 86.97 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01289/0.4215, allocations: 10.08 MB / 0.7758 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005409/0.4269, allocations: 3.182 MB / 0.7789 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004177/0.4273, allocations: 39.81 kB / 0.7789 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.429, allocations: 0.5946 MB / 0.7795 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.4303, allocations: 0.7388 MB / 0.7802 GB, free: 5.152 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.4318, allocations: 0.7434 MB / 0.7809 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003433/0.4353, allocations: 2.992 MB / 0.7839 GB, free: 1.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.4384, allocations: 2.586 MB / 0.7864 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.4399, allocations: 1.25 MB / 0.7876 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.442, allocations: 1.566 MB / 0.7891 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003706/0.4423, allocations: 236 kB / 0.7894 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009805/0.4433, allocations: 0.4916 MB / 0.7898 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.4445, allocations: 1.076 MB / 0.7909 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.4457, allocations: 1.105 MB / 0.792 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003856/0.4496, allocations: 3.704 MB / 0.7956 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4496, allocations: 0 / 0.7956 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4496, allocations: 0 / 0.7956 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.045e-05/0.4497, allocations: 0 / 0.7956 GB, free: 5.328 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.004136/0.4538, allocations: 2.19 MB / 0.7977 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4539, allocations: 8.031 kB / 0.7977 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003606/0.4542, allocations: 265.2 kB / 0.798 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009258/0.4635, allocations: 1.322 MB / 0.7993 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.4661, allocations: 1.306 MB / 0.8005 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.4662, allocations: 119.3 kB / 0.8007 GB, free: 12 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003363/0.4666, allocations: 148.3 kB / 0.8008 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0057/0.4723, allocations: 3.439 MB / 0.8042 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.4723, allocations: 7.938 kB / 0.8042 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.4726, allocations: 63.97 kB / 0.8042 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002768/0.4729, allocations: 203.1 kB / 0.8044 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005273/0.4781, allocations: 3.135 MB / 0.8075 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01841/0.4966, allocations: 13.56 MB / 0.8207 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.4994, allocations: 1.728 MB / 0.8224 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.5016, allocations: 1.445 MB / 0.8238 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.5017, allocations: 13 kB / 0.8238 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.5018, allocations: 43.56 kB / 0.8239 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 3.146e-06/0.5018, allocations: 0 / 0.8239 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=183): time 0.1567/0.6585, allocations: 36.72 MB / 0.8597 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.6586, allocations: 73.41 kB / 0.8598 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.6603, allocations: 1.054 MB / 0.8608 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002961/0.6606, allocations: 57.7 kB / 0.8609 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006506/0.6613, allocations: 0.8054 MB / 0.8617 GB, free: 348 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008085/0.6621, allocations: 0.6548 MB / 0.8623 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008562/0.6629, allocations: 363.5 kB / 0.8627 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.6631, allocations: 301.1 kB / 0.863 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/0.6662, allocations: 1.932 MB / 0.8648 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003362/0.6696, allocations: 2.292 MB / 0.8671 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006936/0.6766, allocations: 4.4 MB / 0.8714 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.6766, allocations: 4 kB / 0.8714 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02259/0.6992, allocations: 9.021 MB / 0.8802 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.6993, allocations: 8 kB / 0.8802 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.6993, allocations: 12 kB / 0.8802 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01816/0.7175, allocations: 4.973 MB / 0.8851 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008804/0.7184, allocations: 195.6 kB / 0.8852 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06279/0.7812, allocations: 38.92 MB / 0.9233 GB, free: 404 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.7832, allocations: 103.9 kB / 0.9234 GB, free: 300 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.7834, allocations: 72 kB / 0.9234 GB, free: 228 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.001387/0.7848, allocations: 0.8056 MB / 0.9242 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.7851, allocations: 147.1 kB / 0.9244 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02193/0.807, allocations: 8.894 MB / 0.933 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/0.8071, allocations: 20 kB / 0.9331 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.874e-05/0.8072, allocations: 28 kB / 0.9331 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.8072, allocations: 7.969 kB / 0.9331 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02829/0.8355, allocations: 13.41 MB / 0.9462 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/0.8356, allocations: 8.062 kB / 0.9462 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/0.8361, allocations: 123.8 kB / 0.9463 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01763/0.8537, allocations: 4.84 MB / 0.951 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/0.854, allocations: 36 kB / 0.9511 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3625/1.217, allocations: 36.84 MB / 0.987 GB, free: 183.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.217, allocations: 3.625 kB / 0.9871 GB, free: 183.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/1.234, allocations: 8.602 MB / 0.9955 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.235, allocations: 0.6443 MB / 0.9961 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/1.236, allocations: 35.62 kB / 0.9961 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/1.237, allocations: 90.91 kB / 0.9962 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007576/1.238, allocations: 161.7 kB / 0.9964 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/1.238, allocations: 46.88 kB / 0.9964 GB, free: 180.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007838/1.239, allocations: 0.7393 MB / 0.9971 GB, free: 179.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/1.239, allocations: 2.906 kB / 0.9971 GB, free: 179.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002659/1.241, 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.01713/1.258, allocations: 9.2 MB / 1.007 GB, free: 170.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008283/1.267, allocations: 5.955 MB / 1.013 GB, free: 164.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.267, allocations: 0 / 1.013 GB, free: 164.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007098/1.274, allocations: 3.958 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.001506/1.275, allocations: 244.8 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.05068/1.326, allocations: 31.06 MB / 1.047 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.328, allocations: 1.863 MB / 1.049 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007719/1.328, allocations: 353.9 kB / 1.049 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/1.329, allocations: 0.6079 MB / 1.05 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/1.329, allocations: 0 / 1.05 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/1.438, allocations: 76.19 MB / 1.124 GB, free: 49.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.88, allocations: 22.22 kB / 1.125 GB, free: 49.85 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)