Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.001148/0.001148, allocations: 103.4 kB / 16.4 MB, free: 6.449 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.001124/0.001124, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.208/1.208, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6647/0.6647, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 68.89 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1241, allocations: 76.18 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0217/0.1458, allocations: 22.55 MB / 0.6536 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009154/0.155, allocations: 6.24 MB / 0.6597 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.1564, allocations: 91.56 kB / 0.6598 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.1598, allocations: 1.548 MB / 0.6613 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.1629, allocations: 1.735 MB / 0.663 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.1655, allocations: 1.344 MB / 0.6643 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004933/0.1705, allocations: 5.951 MB / 0.6701 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006088/0.1766, allocations: 6.051 MB / 0.6761 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.1797, allocations: 2.454 MB / 0.6784 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.1828, allocations: 2.862 MB / 0.6812 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006793/0.1835, allocations: 456 kB / 0.6817 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.1854, allocations: 1.096 MB / 0.6827 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00169/0.1871, allocations: 2.035 MB / 0.6847 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.1891, allocations: 2.17 MB / 0.6869 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005514/0.1946, allocations: 7.289 MB / 0.694 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1946, allocations: 4 kB / 0.694 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1946, allocations: 0 / 0.694 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.136e-05/0.1947, allocations: 0 / 0.694 GB, free: 4.766 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.005431/0.2002, allocations: 3.82 MB / 0.6977 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2002, allocations: 8.031 kB / 0.6977 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005184/0.2007, allocations: 0.5014 MB / 0.6982 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.2059, allocations: 1.21 MB / 0.6994 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003303/0.2092, allocations: 2.34 MB / 0.7017 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.2094, allocations: 242.4 kB / 0.7019 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004511/0.2098, allocations: 315.9 kB / 0.7022 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007572/0.2174, allocations: 6.209 MB / 0.7083 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.045e-05/0.2175, allocations: 15.88 kB / 0.7083 GB, free: 5.723 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/0.2178, allocations: 139.9 kB / 0.7084 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004136/0.2182, allocations: 410.3 kB / 0.7088 GB, free: 5.184 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006241/0.2245, allocations: 4.658 MB / 0.7134 GB, free: 0.5156 MB / 0.545 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.02523/0.2497, allocations: 28.95 MB / 0.7416 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/0.2525, allocations: 1.425 MB / 0.743 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/0.2553, allocations: 1.487 MB / 0.7445 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.2554, allocations: 13 kB / 0.7445 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.2555, allocations: 51.5 kB / 0.7445 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.657e-06/0.2555, allocations: 0 / 0.7445 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=179): time 0.3997/0.6552, allocations: 37.23 MB / 0.7809 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.6552, allocations: 72.12 kB / 0.781 GB, free: 112.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.6568, allocations: 1.422 MB / 0.7824 GB, free: 111.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.6569, allocations: 57.52 kB / 0.7824 GB, free: 111.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/0.6575, allocations: 1.536 MB / 0.7839 GB, free: 109.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/0.6578, allocations: 0.6049 MB / 0.7845 GB, free: 109.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006076/0.6584, allocations: 380.9 kB / 0.7849 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.671e-05/0.6585, allocations: 302.9 kB / 0.7851 GB, free: 108.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.6603, allocations: 1.789 MB / 0.7869 GB, free: 107.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.6623, allocations: 2.35 MB / 0.7892 GB, free: 104.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/0.6662, allocations: 4.391 MB / 0.7935 GB, free: 100.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/0.6662, allocations: 4 kB / 0.7935 GB, free: 100.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01303/0.6793, allocations: 8.563 MB / 0.8018 GB, free: 91.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.6793, allocations: 15.94 kB / 0.8019 GB, free: 91.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.6793, allocations: 20 kB / 0.8019 GB, free: 91.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/0.6908, allocations: 4.632 MB / 0.8064 GB, free: 86.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000977/0.6919, allocations: 307.4 kB / 0.8067 GB, free: 86.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03341/0.7253, allocations: 32.59 MB / 0.8385 GB, free: 53.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.727, allocations: 151.8 kB / 0.8387 GB, free: 52.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.7272, allocations: 83.5 kB / 0.8387 GB, free: 52.89 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00166/0.7289, allocations: 1.338 MB / 0.84 GB, free: 51.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.7292, allocations: 197.7 kB / 0.8402 GB, free: 51.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.7423, allocations: 8.433 MB / 0.8485 GB, free: 42.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.7423, allocations: 20.16 kB / 0.8485 GB, free: 42.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.367e-05/0.7424, allocations: 28 kB / 0.8485 GB, free: 42.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.7424, allocations: 13.73 kB / 0.8485 GB, free: 42.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/0.7609, allocations: 12.85 MB / 0.8611 GB, free: 29.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.7609, allocations: 8 kB / 0.8611 GB, free: 29.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/0.7615, allocations: 167.8 kB / 0.8612 GB, free: 29.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01137/0.7728, allocations: 4.486 MB / 0.8656 GB, free: 25.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/0.7731, allocations: 36 kB / 0.8657 GB, free: 25.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03577/0.8089, allocations: 32.19 MB / 0.8971 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.8089, allocations: 15.94 kB / 0.8971 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/0.8244, allocations: 8.24 MB / 0.9052 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/0.8256, allocations: 0.6197 MB / 0.9058 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/0.826, allocations: 36 kB / 0.9058 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.8273, allocations: 139.8 kB / 0.9059 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000674/0.828, allocations: 168.9 kB / 0.9061 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.8281, allocations: 55.94 kB / 0.9062 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001392/0.8295, allocations: 0.9548 MB / 0.9071 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8295, allocations: 0 / 0.9071 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003115/0.8327, allocations: 1.117 MB / 0.9082 GB, free: 12.63 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01495/0.8476, allocations: 8.844 MB / 0.9168 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01158/0.8592, allocations: 6.517 MB / 0.9232 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.8593, allocations: 4.531 kB / 0.9232 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.008079/0.8674, allocations: 4.368 MB / 0.9274 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.8699, allocations: 0.5199 MB / 0.928 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05613/0.926, allocations: 33.64 MB / 0.9608 GB, free: 5.629 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003554/0.9296, allocations: 2.726 MB / 0.9635 GB, free: 2.867 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001041/0.9307, allocations: 389.1 kB / 0.9638 GB, free: 2.496 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/0.9321, allocations: 1.21 MB / 0.965 GB, free: 1.285 MB / 0.67 GB Notification: Performance of SimCode: time 8.42e-07/0.9321, allocations: 0 / 0.965 GB, free: 1.285 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3864/1.319, allocations: 83.86 MB / 1.047 GB, free: 250.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/13.26, allocations: 16.09 kB / 1.047 GB, free: 250.4 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)