Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.0008022/0.0008021, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008448/0.000845, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005469/0.000547, allocations: 13.72 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2334, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.00965/0.2431, allocations: 9.031 MB / 0.7962 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005097/0.2483, allocations: 2.934 MB / 0.7991 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007918/0.2491, allocations: 27.81 kB / 0.7991 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.2497, allocations: 182.6 kB / 0.7993 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.2512, allocations: 0.5796 MB / 0.7999 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.2524, allocations: 439.1 kB / 0.8003 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00334/0.2558, allocations: 3.178 MB / 0.8034 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004528/0.2603, allocations: 2.686 MB / 0.806 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.2622, allocations: 0.864 MB / 0.8069 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.2646, allocations: 1.25 MB / 0.8081 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.265, allocations: 100 kB / 0.8082 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008983/0.2659, allocations: 255.7 kB / 0.8084 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.267, allocations: 0.8496 MB / 0.8092 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000607/0.2676, allocations: 356.8 kB / 0.8096 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.2705, allocations: 2.798 MB / 0.8123 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2705, allocations: 0 / 0.8123 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2705, allocations: 0 / 0.8123 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.696e-05/0.2706, allocations: 0 / 0.8123 GB, free: 2.227 MB / 0.6231 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.003242/0.2738, allocations: 1.616 MB / 0.8139 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2739, allocations: 8.031 kB / 0.8139 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003562/0.2742, allocations: 252.5 kB / 0.8141 GB, free: 296 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005024/0.2793, allocations: 0.8912 MB / 0.815 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.2814, allocations: 1.09 MB / 0.8161 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.2816, allocations: 110.9 kB / 0.8162 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/0.2819, allocations: 147.9 kB / 0.8163 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004984/0.2869, allocations: 3.001 MB / 0.8193 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/0.287, allocations: 0 / 0.8193 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.2872, allocations: 71.91 kB / 0.8193 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002294/0.2874, allocations: 171 kB / 0.8195 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004189/0.2916, allocations: 2.611 MB / 0.822 GB, free: 8.047 MB / 0.6387 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.01605/0.3077, allocations: 13.51 MB / 0.8352 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.3097, allocations: 1.291 MB / 0.8365 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.3112, allocations: 1.047 MB / 0.8375 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.992e-05/0.3113, allocations: 8.656 kB / 0.8375 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.3114, allocations: 39.22 kB / 0.8376 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.975e-06/0.3114, allocations: 0 / 0.8376 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.06384/0.3752, allocations: 19.44 MB / 0.8566 GB, free: 3.441 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.3753, allocations: 72.59 kB / 0.8566 GB, free: 3.359 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.3768, allocations: 0.9066 MB / 0.8575 GB, free: 2.441 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002575/0.3771, allocations: 49.7 kB / 0.8576 GB, free: 2.387 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000687/0.3778, allocations: 0.74 MB / 0.8583 GB, free: 1.633 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/0.3783, allocations: 481 kB / 0.8587 GB, free: 1.156 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.3784, allocations: 28 kB / 0.8588 GB, free: 1.129 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.3786, allocations: 422.7 kB / 0.8592 GB, free: 0.707 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.3806, allocations: 1.331 MB / 0.8605 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.3828, allocations: 1.651 MB / 0.8621 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.385, allocations: 1.559 MB / 0.8636 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.385, allocations: 0 / 0.8636 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01109/0.3961, allocations: 5.617 MB / 0.8691 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.3962, allocations: 8 kB / 0.8691 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/0.3963, allocations: 16 kB / 0.8691 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008279/0.4046, allocations: 2.727 MB / 0.8718 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/0.4054, allocations: 187.7 kB / 0.872 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03442/0.4398, allocations: 23.29 MB / 0.8947 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4413, allocations: 99.89 kB / 0.8948 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/0.4416, allocations: 56 kB / 0.8949 GB, free: 11.46 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001641/0.4433, allocations: 0.7431 MB / 0.8956 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.4437, allocations: 126.5 kB / 0.8957 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.4549, allocations: 5.377 MB / 0.9009 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.455, allocations: 15.94 kB / 0.901 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-05/0.4551, allocations: 20 kB / 0.901 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/0.4551, allocations: 11.92 kB / 0.901 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.472, allocations: 8.59 MB / 0.9094 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/0.472, allocations: 4.469 kB / 0.9094 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.4726, allocations: 119.8 kB / 0.9095 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008146/0.4807, allocations: 2.53 MB / 0.912 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/0.481, allocations: 31.94 kB / 0.912 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4934/0.9744, allocations: 20.84 MB / 0.9324 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.9745, allocations: 8.156 kB / 0.9324 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.9846, allocations: 5.112 MB / 0.9374 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000955/0.9856, allocations: 484.3 kB / 0.9378 GB, free: 122.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.9858, allocations: 25.33 kB / 0.9378 GB, free: 122.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.9866, allocations: 77.39 kB / 0.9379 GB, free: 122.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006489/0.9873, allocations: 123.8 kB / 0.938 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.9874, allocations: 36.12 kB / 0.9381 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001099/0.9885, allocations: 0.6367 MB / 0.9387 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.5e-07/0.9885, allocations: 0 / 0.9387 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002984/0.9915, allocations: 0.7214 MB / 0.9394 GB, free: 122.2 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01089/1.002, allocations: 5.695 MB / 0.945 GB, free: 120 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008282/1.011, allocations: 4.151 MB / 0.949 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.011, allocations: 0 / 0.949 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005434/1.016, allocations: 2.658 MB / 0.9516 GB, free: 117 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.018, allocations: 213.4 kB / 0.9518 GB, free: 117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/1.041, allocations: 14.43 MB / 0.9659 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/1.042, allocations: 1.7 MB / 0.9676 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007857/1.043, allocations: 324 kB / 0.9679 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/1.043, allocations: 0.5332 MB / 0.9684 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.743e-06/1.043, allocations: 0 / 0.9684 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08211/1.126, allocations: 48.89 MB / 1.016 GB, free: 60.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/1.126, allocations: 241.6 kB / 1.016 GB, free: 60.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/3.832, allocations: 0 / 1.016 GB, free: 60.41 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) Environment - environmentSimulation: