Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/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) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5555/0.5555, allocations: 78.54 MB / 94.04 MB, free: 3.809 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.001221, allocations: 110.9 kB / 113.6 MB, free: 9.875 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 184.5 kB / 133.3 MB, free: 6.238 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 375.7 MB, free: 3.863 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.8231/0.8231, allocations: 62.27 MB / 0.495 GB, free: 7.883 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 123.8 kB / 0.5751 GB, free: 6.559 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6247/0.6272, allocations: 69.5 MB / 0.643 GB, free: 18.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.00623/0.6335, allocations: 4.3 MB / 0.6472 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.6358, allocations: 1.239 MB / 0.6484 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.6361, allocations: 6.125 kB / 0.6484 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.6365, allocations: 133.4 kB / 0.6485 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.637, allocations: 236 kB / 0.6487 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.6381, allocations: 0.5392 MB / 0.6493 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007/0.6388, allocations: 0.8373 MB / 0.6501 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.6391, allocations: 171.1 kB / 0.6502 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.6395, allocations: 345.3 kB / 0.6506 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/0.6402, allocations: 454.9 kB / 0.651 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.6403, allocations: 67 kB / 0.6511 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.6406, allocations: 129.9 kB / 0.6512 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.6407, allocations: 168 kB / 0.6514 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.641, allocations: 359.4 kB / 0.6517 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008572/0.6419, allocations: 0.8211 MB / 0.6525 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.6419, allocations: 0 / 0.6525 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6419, allocations: 5.375 kB / 0.6525 GB, free: 10.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.6419, allocations: 0 / 0.6525 GB, free: 10.79 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003216/0.6452, allocations: 1.214 MB / 0.6537 GB, free: 9.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.6452, allocations: 9.469 kB / 0.6537 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.6453, allocations: 88.33 kB / 0.6538 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/0.6463, allocations: 188.4 kB / 0.654 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.647, allocations: 489 kB / 0.6544 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.6472, allocations: 68.78 kB / 0.6545 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.6473, allocations: 48.38 kB / 0.6545 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.6484, allocations: 0.5468 MB / 0.6551 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.6485, allocations: 1.375 kB / 0.6551 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.6485, allocations: 15.59 kB / 0.6551 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.6485, allocations: 10.31 kB / 0.6551 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.6497, allocations: 493.7 kB / 0.6556 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004083/0.6538, allocations: 2.1 MB / 0.6576 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.6552, allocations: 0.6227 MB / 0.6582 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.6558, allocations: 299.8 kB / 0.6585 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.6559, allocations: 5.906 kB / 0.6585 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.6559, allocations: 38.09 kB / 0.6586 GB, free: 6.285 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 3.356e-06/0.656, allocations: 7.938 kB / 0.6586 GB, free: 6.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.008997/0.665, allocations: 2.845 MB / 0.6613 GB, free: 3.754 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.665, allocations: 81.55 kB / 0.6614 GB, free: 3.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.6655, allocations: 0.4904 MB / 0.6619 GB, free: 3.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.6656, allocations: 37.7 kB / 0.6619 GB, free: 3.109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.6657, allocations: 288.1 kB / 0.6622 GB, free: 2.824 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.6659, allocations: 185.3 kB / 0.6624 GB, free: 2.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.666, allocations: 86.25 kB / 0.6625 GB, free: 2.551 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6661, allocations: 374.7 kB / 0.6628 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.6666, allocations: 236.9 kB / 0.6631 GB, free: 1.945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/0.6671, allocations: 337.1 kB / 0.6634 GB, free: 1.578 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009401/0.6681, allocations: 0.6089 MB / 0.664 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6681, allocations: 0 / 0.664 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.007845/0.6759, allocations: 1.736 MB / 0.6657 GB, free: 15.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.676, allocations: 8.219 kB / 0.6657 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.676, allocations: 4 kB / 0.6657 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007338/0.6833, allocations: 1.176 MB / 0.6668 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.6839, allocations: 95.88 kB / 0.6669 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.6967, allocations: 6.267 MB / 0.673 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008825/0.6976, allocations: 35.97 kB / 0.6731 GB, free: 7.324 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.6977, allocations: 20 kB / 0.6731 GB, free: 7.305 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000405/0.6982, allocations: 177.7 kB / 0.6733 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.6984, allocations: 67.17 kB / 0.6733 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004618/0.7031, allocations: 1.319 MB / 0.6746 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.7031, allocations: 7.938 kB / 0.6746 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7031, allocations: 4 kB / 0.6746 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.7031, allocations: 7.984 kB / 0.6746 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005622/0.7087, allocations: 2.11 MB / 0.6767 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.7088, allocations: 0 / 0.6767 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.7092, allocations: 79.89 kB / 0.6768 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/0.7119, allocations: 0.587 MB / 0.6773 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.7119, allocations: 11.94 kB / 0.6774 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008081/0.72, allocations: 4.741 MB / 0.682 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.7201, allocations: 7.969 kB / 0.682 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005645/0.7257, allocations: 1.78 MB / 0.6837 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.7261, allocations: 140.4 kB / 0.6839 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.7262, allocations: 12 kB / 0.6839 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/0.7268, allocations: 31.97 kB / 0.6839 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.7271, allocations: 76.22 kB / 0.684 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.7271, allocations: 8 kB / 0.684 GB, free: 11.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005082/0.7276, allocations: 358.9 kB / 0.6843 GB, free: 11.35 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7276, allocations: 0 / 0.6843 GB, free: 11.35 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009365/0.7286, allocations: 192 kB / 0.6845 GB, free: 11.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,SPIM.Rotor_Inertia.w,SPIM.speed.phi,Inf.omega) * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (4,10,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005801/0.7344, allocations: 2.345 MB / 0.6868 GB, free: 8.781 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.7372, allocations: 0.9157 MB / 0.6877 GB, free: 7.855 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.7373, allocations: 0 / 0.6877 GB, free: 7.855 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.7389, allocations: 0.6757 MB / 0.6884 GB, free: 7.148 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.7397, allocations: 73.89 kB / 0.6884 GB, free: 7.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/0.7626, allocations: 7.587 MB / 0.6958 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.7633, allocations: 0.8833 MB / 0.6967 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.7636, allocations: 56.34 kB / 0.6968 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.7639, allocations: 207.4 kB / 0.697 GB, free: 14.15 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.764, allocations: 0 / 0.697 GB, free: 14.15 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05221/0.8162, allocations: 17.68 MB / 0.7142 GB, free: 12.69 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 18/18.82, allocations: 11.5 kB / 0.7142 GB, free: 12.68 MB / 0.4982 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)